Ensure that all actions are compared to fixed point in time (ie. world update start)
Port From (https://github.com/TrinityCore/TrinityCore/commit/60663d1374beef3103f4787152654034fa4a8897)
This commit is contained in:
@@ -1008,11 +1008,11 @@ namespace Game.BattleGrounds.Zones
|
||||
// Demolisher is not in list
|
||||
if (!DemoliserRespawnList.ContainsKey(i))
|
||||
{
|
||||
DemoliserRespawnList[i] = Time.GetMSTime() + 30000;
|
||||
DemoliserRespawnList[i] = GameTime.GetGameTimeMS() + 30000;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (DemoliserRespawnList[i] < Time.GetMSTime())
|
||||
if (DemoliserRespawnList[i] < GameTime.GetGameTimeMS())
|
||||
{
|
||||
Demolisher.Relocate(SAMiscConst.NpcSpawnlocs[i]);
|
||||
Demolisher.Respawn();
|
||||
|
||||
Reference in New Issue
Block a user