From 01917841cb4acbe6e5e4be994a439c07212a81b5 Mon Sep 17 00:00:00 2001 From: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> Date: Wed, 14 May 2025 01:57:29 -0700 Subject: [PATCH] Invert frame rates (use inactive if 0 players in world, not the other way around) (#1796) --- dWorldServer/PerformanceManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dWorldServer/PerformanceManager.cpp b/dWorldServer/PerformanceManager.cpp index 8b78867b..c92d66c6 100644 --- a/dWorldServer/PerformanceManager.cpp +++ b/dWorldServer/PerformanceManager.cpp @@ -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; }