Core/Misc: Rename LinkedListHead::getSize to size to fit standard container naming

This commit is contained in:
Shauren
2025-07-11 17:51:49 +02:00
parent fbbcc31670
commit f4c0ede726
8 changed files with 8 additions and 8 deletions

View File

@@ -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)