Removes a spawn

This commit is contained in:
CitadelStationBot
2017-06-08 09:46:57 -05:00
parent 00790c0fdd
commit 38a1e1d984
+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