mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 23:23:28 +01:00
Update newscaster.dm (#15280)
* Update newscaster.dm I fixed the bug allowing it to brodcast with no power * Update code/modules/newscaster/obj/newscaster.dm Co-authored-by: Farie82 <farie82@users.noreply.github.com> Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
@@ -676,6 +676,8 @@
|
||||
* * wanted_notice - Whether the alert is a wanted notice notification (overrides announcement)
|
||||
*/
|
||||
/obj/machinery/newscaster/proc/alert_news(announcement, wanted_notice = FALSE)
|
||||
if(!is_operational())
|
||||
return
|
||||
if(wanted_notice)
|
||||
atom_say("Attention! Wanted issue distributed!")
|
||||
playsound(loc, 'sound/machines/warning-buzzer.ogg', 75, TRUE)
|
||||
|
||||
Reference in New Issue
Block a user