mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-27 22:17:32 +01:00
Firedoors open/close even for air alarms that don't report to computers (#15167)
* offstation firelocks work * farie suggestions Co-authored-by: Farie82 <farie82@users.noreply.github.com> Co-authored-by: Kyep <Kyep@users.noreply.github.com> Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
@@ -541,6 +541,12 @@
|
||||
|
||||
/obj/machinery/alarm/proc/post_alert(alert_level)
|
||||
if(!report_danger_level)
|
||||
// Don't report the level to computers, but do toggle firedoors
|
||||
var/area/A = get_area(src)
|
||||
if(alert_level == ATMOS_ALARM_NONE)
|
||||
A.air_doors_open()
|
||||
else if(alert_level != ATMOS_ALARM_NONE)
|
||||
A.air_doors_close()
|
||||
return
|
||||
var/datum/radio_frequency/frequency = SSradio.return_frequency(alarm_frequency)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user