mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Misc: Rename LinkedListHead::getSize to size to fit standard container naming
This commit is contained in:
@@ -2955,7 +2955,7 @@ void InstanceMap::RemovePlayerFromMap(Player* player, bool remove)
|
||||
i_data->OnPlayerLeave(player);
|
||||
|
||||
// if last player set unload timer
|
||||
if (!m_unloadTimer && m_mapRefManager.getSize() == 1)
|
||||
if (!m_unloadTimer && m_mapRefManager.size() == 1)
|
||||
m_unloadTimer = (i_instanceLock && i_instanceLock->IsExpired()) ? MIN_UNLOAD_DELAY : std::max(sWorld->getIntConfig(CONFIG_INSTANCE_UNLOAD_DELAY), (uint32)MIN_UNLOAD_DELAY);
|
||||
|
||||
if (i_scenario)
|
||||
|
||||
Reference in New Issue
Block a user