Remove unused newscast ability from announcements. (#19442)

* Remove unused newscast ability from announcements.

* Switch from 0/1 to FALSE/TRUE in modified code.
This commit is contained in:
warriorstar-orion
2022-10-21 13:59:36 -04:00
committed by GitHub
parent 3ed0c435c6
commit c254efbcdf
6 changed files with 23 additions and 43 deletions
@@ -7,8 +7,8 @@ GLOBAL_VAR_INIT(security_level, 0)
//5 = code delta
//config.alert_desc_blue_downto
GLOBAL_DATUM_INIT(security_announcement_up, /datum/announcement/priority/security, new(do_log = 0, do_newscast = 0, new_sound = sound('sound/misc/notice1.ogg')))
GLOBAL_DATUM_INIT(security_announcement_down, /datum/announcement/priority/security, new(do_log = 0, do_newscast = 0))
GLOBAL_DATUM_INIT(security_announcement_up, /datum/announcement/priority/security, new(do_log = FALSE, new_sound = sound('sound/misc/notice1.ogg')))
GLOBAL_DATUM_INIT(security_announcement_down, /datum/announcement/priority/security, new(do_log = FALSE))
/proc/set_security_level(level)
switch(level)