Merge pull request #14395 from MrStonedOne/nomoreminus1

Removes a bunch of sleep(-1) and spawn(-1) from the code
This commit is contained in:
duncathan salt
2016-01-05 22:16:17 -06:00
10 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ var/global/datum/controller/master/Master = new()
// If we caused BYOND to miss a tick, stop processing for a bit...
if(startingtick < world.time || start_time + 1 < world.timeofday)
break
sleep(-1)
sleep(0)
cost = MC_AVERAGE(cost, world.timeofday - start_time)
if(ran_subsystems)
+1 -1
View File
@@ -485,5 +485,5 @@ var/datum/subsystem/ticker/ticker
//map rotate chance defaults to 75% of the length of the round (in minutes)
if (!prob((world.time/600)*config.maprotatechancedelta))
return
spawn(-1) //compiling a map can lock up the mc for 30 to 60 seconds if we don't spawn
spawn(0) //compiling a map can lock up the mc for 30 to 60 seconds if we don't spawn
maprotate()