Skip to content

Commit

Permalink
[Performance] Slow dynamic zones down when no clients are in them
Browse files Browse the repository at this point in the history
  • Loading branch information
Akkadius committed Mar 29, 2017
1 parent 01d7a2a commit af9a34e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zone/net.cpp
Expand Up @@ -550,7 +550,7 @@ int main(int argc, char** argv) {
#endif
#endif
} //end extra profiler block
if (is_zone_loaded) {
if (is_zone_loaded && numclients > 0) {
Sleep(ZoneTimerResolution);
}
else {
Expand Down

0 comments on commit af9a34e

Please sign in to comment.