mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 23:27:34 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user