mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-05-15 19:11:20 +00:00
Invert frame rates (use inactive if 0 players in world, not the other way around)
This commit is contained in:
parent
e18c504ee4
commit
82e0a77951
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user