Invert frame rates (use inactive if 0 players in world, not the other way around) (#1796)

This commit is contained in:
David Markowitz 2025-05-14 01:57:29 -07:00 committed by GitHub
parent e18c504ee4
commit 01917841cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}