This repository was archived by the owner on May 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed
Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 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.
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()
Original file line number Diff line number Diff 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] ." )
You can’t perform that action at this time.
0 commit comments