mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-18 14:52:25 +00:00
Fun fact, seconds are not milliseconds!
This commit is contained in:
parent
6aba38f664
commit
71e309022a
@ -4679,7 +4679,7 @@ void Client::UpdateRestTimer(uint32 new_timer)
|
||||
m_pp.RestTimer = new_timer;
|
||||
} else { // if we're not aggro, we need to check if current timer needs updating
|
||||
if (rest_timer.GetRemainingTime() / 1000 < new_timer) {
|
||||
rest_timer.Start(new_timer);
|
||||
rest_timer.Start(new_timer * 1000);
|
||||
if (ClientVersion() >= EQEmu::versions::ClientVersion::SoF) {
|
||||
auto outapp = new EQApplicationPacket(OP_RestState, 5);
|
||||
char *Buffer = (char *)outapp->pBuffer;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user