mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 03:02:54 +00:00
Removes alarm sound from air alarm.
This commit is contained in:
@@ -173,7 +173,6 @@
|
|||||||
if(!istype(location)) return//returns if loc is not simulated
|
if(!istype(location)) return//returns if loc is not simulated
|
||||||
|
|
||||||
if ((alarm_area.fire || alarm_area.atmosalm >= 2) && world.time > last_sound_time + alarm_sound_cooldown)
|
if ((alarm_area.fire || alarm_area.atmosalm >= 2) && world.time > last_sound_time + alarm_sound_cooldown)
|
||||||
playsound(src.loc, 'sound/machines/airalarm.ogg', 40, 0, 5)
|
|
||||||
last_sound_time = world.time
|
last_sound_time = world.time
|
||||||
|
|
||||||
var/datum/gas_mixture/environment = location.return_air()
|
var/datum/gas_mixture/environment = location.return_air()
|
||||||
|
|||||||
Reference in New Issue
Block a user