mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-27 04:07:39 +00:00
[Performance] Slow dynamic zones down when no clients are in them
This commit is contained in:
+1
-1
@@ -550,7 +550,7 @@ int main(int argc, char** argv) {
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
} //end extra profiler block
|
} //end extra profiler block
|
||||||
if (is_zone_loaded) {
|
if (is_zone_loaded && numclients > 0) {
|
||||||
Sleep(ZoneTimerResolution);
|
Sleep(ZoneTimerResolution);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|||||||
Reference in New Issue
Block a user