[MIRROR] Allow dynamic to be configured when used as the forced secret mode (#2721)

* Allow dynamic to be configured when used as the forced secret mode (#56122)

Allow dynamic to be configured (roundstart rulesets) when used as the forced secret mode

* Allow dynamic to be configured when used as the forced secret mode

Co-authored-by: Mothblocks <35135081+Jared-Fogle@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-01-16 00:50:01 +01:00
committed by GitHub
co-authored by Mothblocks
parent 57cb8fc2b1
commit fcf376c5e6
4 changed files with 19 additions and 15 deletions
+4
View File
@@ -625,6 +625,10 @@ SUBSYSTEM_DEF(ticker)
fdel(F)
WRITE_FILE(F, the_mode)
/// Returns if either the master mode or the forced secret ruleset matches the mode name.
/datum/controller/subsystem/ticker/proc/is_mode(mode_name)
return GLOB.master_mode == mode_name || GLOB.secret_force_mode == mode_name
/datum/controller/subsystem/ticker/proc/SetRoundEndSound(the_sound)
set waitfor = FALSE
round_end_sound_sent = FALSE