mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-07-03 10:09:54 +00:00
Invert frame rates (use inactive if 0 players in world, not the other way around) (#1796)
This commit is contained in:
parent
e18c504ee4
commit
01917841cb
@ -91,5 +91,5 @@ void PerformanceManager::SelectProfile(LWOMAPID mapID) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
uint32_t PerformanceManager::GetServerFrameDelta() {
|
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