Revert "Core/Misc: Replace time(NULL) with GameTime::GetGameTime()"
This reverts commit 5fe3a1f7f9.
This commit is contained in:
1 parent
4dc27b53eb
commit
c074c3a9c6
69 files changed
+258
-357
No files matched your search
@@ -179,7 +179,7 @@ void WorldSession::HandleMoveWorldportAck()
|
||||
{
|
||||
if (time_t timeReset = sInstanceSaveMgr->GetResetTimeFor(mEntry->ID, diff))
|
||||
{
|
||||
uint32 timeleft = uint32(timeReset - GameTime::GetGameTime());
|
||||
uint32 timeleft = uint32(timeReset - time(nullptr));
|
||||
GetPlayer()->SendInstanceResetWarning(mEntry->ID, diff, timeleft, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user