Core/Misc: Replace Time.UnixTime with GameTime.GetGameTime()
Port From (https://github.com/TrinityCore/TrinityCore/commit/e17e4e6f0700c7d950e1b2654c217ec8b28ae79e)
This commit is contained in:
@@ -368,7 +368,7 @@ namespace Game
|
||||
long timeReset = Global.InstanceSaveMgr.GetResetTimeFor(mapEntry.Id, diff);
|
||||
if (timeReset != 0)
|
||||
{
|
||||
uint timeleft = (uint)(timeReset - Time.UnixTime);
|
||||
uint timeleft = (uint)(timeReset - GameTime.GetGameTime());
|
||||
GetPlayer().SendInstanceResetWarning(mapEntry.Id, diff, timeleft, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user