mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-09 20:24:16 +00:00
Invert frame rates (use inactive if 0 players in world, not the other way around) (#1796)
This commit is contained in:
@@ -91,5 +91,5 @@ void PerformanceManager::SelectProfile(LWOMAPID mapID) {
|
||||
}
|
||||
|
||||
uint32_t PerformanceManager::GetServerFrameDelta() {
|
||||
return UserManager::Instance()->GetUserCount() == 0 ? m_CurrentProfile : m_InactiveProfile;
|
||||
return UserManager::Instance()->GetUserCount() == 0 ? m_InactiveProfile : m_CurrentProfile;
|
||||
}
|
||||
|
Reference in New Issue
Block a user