Merge pull request #15209 from SteelSlayer/spawn-removal

Removes a bunch of spawn()'s
This commit is contained in:
Fox McCloud
2021-03-07 21:10:39 -05:00
committed by GitHub
22 changed files with 82 additions and 103 deletions
+6 -6
View File
@@ -125,14 +125,14 @@ SUBSYSTEM_DEF(ticker)
current_state = GAME_STATE_FINISHED
Master.SetRunLevel(RUNLEVEL_POSTGAME) // This shouldnt process more than once, but you never know
auto_toggle_ooc(TRUE) // Turn it on
declare_completion()
addtimer(CALLBACK(src, .proc/call_reboot), 5 SECONDS)
spawn(50)
if(mode.station_was_nuked)
reboot_helper("Station destroyed by Nuclear Device.", "nuke")
else
reboot_helper("Round ended.", "proper completion")
/datum/controller/subsystem/ticker/proc/call_reboot()
if(mode.station_was_nuked)
reboot_helper("Station destroyed by Nuclear Device.", "nuke")
else
reboot_helper("Round ended.", "proper completion")
/datum/controller/subsystem/ticker/proc/setup()
cultdat = setupcult()