Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit d38b816

Browse files
committed
TGS Test Merge (#21351)
2 parents 556f8c7 + d6bfb6f commit d38b816

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

code/controllers/subsystem.dm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@
132132
enqueue()
133133
state = SS_PAUSED
134134
queued_time = QT
135+
OnPause("SS ignite()")
135136

136137
///previously, this would have been named 'process()' but that name is used everywhere for different things!
137138
///fire() seems more suitable. This is the procedure that gets called every 'wait' deciseconds.
@@ -255,6 +256,11 @@
255256
state = SS_PAUSED
256257
if(SS_SLEEPING)
257258
state = SS_PAUSING
259+
OnPause("SS pause()")
260+
261+
//for annoying logging
262+
/datum/controller/subsystem/proc/OnPause(source)
263+
return
258264

259265
/// Called after the config has been loaded or reloaded.
260266
/datum/controller/subsystem/proc/OnConfigLoad()

code/controllers/subsystem/ticker.dm

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,3 +768,8 @@ SUBSYSTEM_DEF(ticker)
768768

769769
/datum/controller/subsystem/ticker/Shutdown()
770770
gather_newscaster() //called here so we ensure the log is created even upon admin reboot
771+
772+
/datum/controller/subsystem/ticker/OnPause(source)
773+
message_admins(span_boldannounce("Ticker SS was set to pause from source: [source]."))
774+
message_admins(span_boldannounce("Call enqueue() on the Ticker SS or round will not end properly."))
775+
log_game("Ticker SS was set to pause from source: [source].")

0 commit comments

Comments
 (0)