Adds a missing TIMER_STOPPABLE (#56617)

This commit is contained in:
Jordan Brown
2021-02-05 04:14:32 -05:00
committed by GitHub
parent 812a6f0d46
commit ea6057a557
+1 -1
View File
@@ -23,7 +23,7 @@
to_chat(world, "<span class='boldannounce'>Server updated, changes will be applied on the next round...</span>")
if(TGS_EVENT_WATCHDOG_DETACH)
message_admins("TGS restarting...")
reattach_timer = addtimer(CALLBACK(src, .proc/LateOnReattach), 1 MINUTES)
reattach_timer = addtimer(CALLBACK(src, .proc/LateOnReattach), 1 MINUTES, TIMER_STOPPABLE)
if(TGS_EVENT_WATCHDOG_REATTACH)
var/datum/tgs_version/old_version = world.TgsVersion()
var/datum/tgs_version/new_version = args[2]