Make air alarms start with the correct default state when placing the… (#21635)

* Make air alarms start with the correct default state when placing the frame

* Update code/game/objects/items/mountable_frames/air_alarm_frame.dm

Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>

* undefs to allow CI passing

* define moment

---------

Co-authored-by: S34N <12197162+S34NW@users.noreply.github.com>
Co-authored-by: Luc <89928798+lewcc@users.noreply.github.com>
This commit is contained in:
benjicoots
2023-08-12 20:27:42 +02:00
committed by GitHub
parent 0b5a3e692f
commit cc13c52fed
3 changed files with 7 additions and 10 deletions
@@ -57,10 +57,6 @@
#define MAX_TEMPERATURE 363.15 // 90C
#define MIN_TEMPERATURE 233.15 // -40C
#define AIR_ALARM_FRAME 0
#define AIR_ALARM_UNWIRED 1
#define AIR_ALARM_READY 2
//all air alarms in area are connected via magic
/area
var/obj/machinery/alarm/master_air_alarm
@@ -1176,8 +1172,3 @@ Just an object used in constructing air alarms
origin_tech = "engineering=2;programming=1"
toolspeed = 1
usesound = 'sound/items/deconstruct.ogg'
#undef AIR_ALARM_FRAME
#undef AIR_ALARM_UNWIRED
#undef AIR_ALARM_READY