Fun fact, seconds are not milliseconds!

This commit is contained in:
Michael Cook (mackal) 2018-07-15 00:34:44 -04:00
parent 6aba38f664
commit 71e309022a

View File

@ -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;