mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Adds Missing CHOMPEdit Comment
This commit is contained in:
@@ -84,7 +84,7 @@
|
|||||||
|
|
||||||
var/alarms_hidden = FALSE //If the alarms from this machine are visible on consoles
|
var/alarms_hidden = FALSE //If the alarms from this machine are visible on consoles
|
||||||
|
|
||||||
var/datum/looping_sound/alarm/decompression_alarm/soundloop
|
var/datum/looping_sound/alarm/decompression_alarm/soundloop // CHOMPEdit: Looping Alarms
|
||||||
|
|
||||||
/obj/machinery/alarm/nobreach
|
/obj/machinery/alarm/nobreach
|
||||||
breach_detection = 0
|
breach_detection = 0
|
||||||
@@ -130,7 +130,7 @@
|
|||||||
if(alarm_area && alarm_area.master_air_alarm == src)
|
if(alarm_area && alarm_area.master_air_alarm == src)
|
||||||
alarm_area.master_air_alarm = null
|
alarm_area.master_air_alarm = null
|
||||||
elect_master(exclude_self = TRUE)
|
elect_master(exclude_self = TRUE)
|
||||||
QDEL_NULL(soundloop)
|
QDEL_NULL(soundloop) // CHOMPEdit: Looping Alarms
|
||||||
return ..()
|
return ..()
|
||||||
|
|
||||||
/obj/machinery/alarm/proc/offset_airalarm()
|
/obj/machinery/alarm/proc/offset_airalarm()
|
||||||
@@ -168,7 +168,7 @@
|
|||||||
set_frequency(frequency)
|
set_frequency(frequency)
|
||||||
if(!master_is_operating())
|
if(!master_is_operating())
|
||||||
elect_master()
|
elect_master()
|
||||||
soundloop = new(list(src), FALSE) // Create soundloop
|
soundloop = new(list(src), FALSE) // CHOMPEdit: Looping Alarms
|
||||||
|
|
||||||
/obj/machinery/alarm/process()
|
/obj/machinery/alarm/process()
|
||||||
if((stat & (NOPOWER|BROKEN)) || shorted)
|
if((stat & (NOPOWER|BROKEN)) || shorted)
|
||||||
@@ -199,9 +199,9 @@
|
|||||||
apply_mode()
|
apply_mode()
|
||||||
|
|
||||||
if(alarm_area?.atmosalm || danger_level > 0) // CHOMPEdit: Looping Alarms (Trigger Decompression alarm here, on detection of any breach in the area)
|
if(alarm_area?.atmosalm || danger_level > 0) // CHOMPEdit: Looping Alarms (Trigger Decompression alarm here, on detection of any breach in the area)
|
||||||
soundloop.start()
|
soundloop.start() // CHOMPEdit: Looping Alarms
|
||||||
else if(danger_level == 0 && alarm_area?.atmosalm == 0) // CHOMPEdit: Looping Alarms (Cancel Decompression alarm here)
|
else if(danger_level == 0 && alarm_area?.atmosalm == 0) // CHOMPEdit: Looping Alarms (Cancel Decompression alarm here)
|
||||||
soundloop.stop()
|
soundloop.stop() // CHOMPEdit: Looping Alarms
|
||||||
|
|
||||||
//atmos computer remote controll stuff
|
//atmos computer remote controll stuff
|
||||||
switch(rcon_setting)
|
switch(rcon_setting)
|
||||||
|
|||||||
Reference in New Issue
Block a user