mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
It's 2017, time to fuck (some) spawns and cleanbots (#22801)
* Spawn -> addtimer * Remove this unused proc * Oh boy, there he goes touching MC again * Remove spawn in flick_overlay * Remove spawn in pollCandidates * flash_color: waitfor = 0 * Don't mess with my grepping, comments * clear_fullscreen: waitfor = 0 * Why the hell was telekinisis not using the define? * check_for_cleanbot_bug: waitfor = 1 * Failsafe loop launcher * assets: waitfor = 0 * Ticker nuke cleanup: addtimer * ticker post setup: addtimer * ticker cinematic cleanup: addtimer * Revert "Why the hell was telekinisis not using the define?" Handled in #22803 This reverts commit 1da293e687f1811ae69001cb02dfa6f15f451354. * ticker maprotate: addtimer 0 * beam start: addtimer 0 * browser onclose setup: waitfor = 0 * Revert "check_for_cleanbot_bug: waitfor = 1" This reverts commit 99e50724b3bc6a3682d042b36f97c906c7f7d96d. * Finally remove check_for_cleanbot_bug * browser timeout: addtimer * deafness symptom: addtimer * Shedding symptom: addtimer * Animate doesn't sleep * MSOs stuff * > Tfw you committed without saving
This commit is contained in:
@@ -27,9 +27,12 @@ var/datum/controller/failsafe/Failsafe
|
||||
if(istype(Failsafe))
|
||||
qdel(Failsafe)
|
||||
Failsafe = src
|
||||
spawn()
|
||||
Failsafe.Loop()
|
||||
qdel(Failsafe) //when Loop() returns, we delete ourselves and let the mc recreate us
|
||||
LaunchLoop()
|
||||
|
||||
/datum/controller/failsafe/proc/LaunchLoop()
|
||||
set waitfor = 0
|
||||
Failsafe.Loop()
|
||||
qdel(Failsafe) //when Loop() returns, we delete ourselves and let the mc recreate us
|
||||
|
||||
/datum/controller/failsafe/Destroy()
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user