Fixes the server taking for fucking ever to initialize for local test

This commit is contained in:
CitadelStationBot
2017-06-24 22:22:44 -05:00
parent 9e9e8c323e
commit 15362206dd
+3
View File
@@ -1210,6 +1210,9 @@ proc/pick_closest_path(value, list/matches = get_fancy_list_of_atom_types())
#define DELTA_CALC max(((max(world.tick_usage, world.cpu) / 100) * max(Master.sleep_delta,1)), 1)
/proc/stoplag()
if (!Master || !(Master.current_runlevel & RUNLEVELS_DEFAULT))
sleep(world.tick_lag)
return 1
. = 0
var/i = 1
do