Heavily reduce idle cpu footprint with many zone processes loaded simultaneously and not active

This commit is contained in:
Akkadius 2017-02-08 17:28:54 -06:00
parent d1abe4a332
commit 57d75572b2

View File

@ -546,8 +546,14 @@ int main(int argc, char** argv) {
#endif
#endif
} //end extra profiler block
if (is_zone_loaded) {
Sleep(ZoneTimerResolution);
}
else {
Sleep(1000);
}
}
entity_list.Clear();