Removes a spawn

This commit is contained in:
Jordan Brown
2017-06-07 10:53:22 -04:00
committed by GitHub
parent 99138f12d0
commit a3c8e153fd
+2 -4
View File
@@ -26,9 +26,7 @@
var/waittime = 300 * (2^retry)
message_admins("The event will not spawn a [role_name] until certain \
conditions are met. Waiting [waittime/10]s and then retrying.")
spawn(waittime)
// I hope this doesn't end up running out of stack space
try_spawning(0,++retry)
addtimer(CALLBACK(src, .proc/try_spawning, 0, ++retry), waittime)
return
if(status == MAP_ERROR)
@@ -69,4 +67,4 @@
return candidates
#undef MAX_SPAWN_ATTEMPT
#undef MAX_SPAWN_ATTEMPT