mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-02 22:42:26 +00:00
[Performance] Slow dynamic zones down when no clients are in them
This commit is contained in:
parent
01d7a2a0a7
commit
af9a34e4e7
@ -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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user