Core/Misc: Separate RecordTimeDiff in World::Update for MapMgr and BattlegroundMgr
This commit is contained in:
@@ -1959,7 +1959,9 @@ void World::Update(uint32 diff)
|
|||||||
|
|
||||||
/// <li> Handle all other objects
|
/// <li> Handle all other objects
|
||||||
///- Update objects when the timer has passed (maps, transport, creatures, ...)
|
///- Update objects when the timer has passed (maps, transport, creatures, ...)
|
||||||
|
RecordTimeDiff(NULL);
|
||||||
sMapMgr->Update(diff);
|
sMapMgr->Update(diff);
|
||||||
|
RecordTimeDiff("UpdateMapMgr");
|
||||||
|
|
||||||
if (sWorld->getBoolConfig(CONFIG_AUTOBROADCAST))
|
if (sWorld->getBoolConfig(CONFIG_AUTOBROADCAST))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user