17 lines
741 B
Plaintext
17 lines
741 B
Plaintext
diff a/code/game/machinery/firealarm.dm b/code/game/machinery/firealarm.dm (rejected hunks)
|
|
@@ -239,12 +239,12 @@
|
|
alarm()
|
|
|
|
/obj/machinery/firealarm/obj_break(damage_flag)
|
|
- if(!(stat & BROKEN) && !(flags & NODECONSTRUCT) && buildstage != 0) //can't break the electronics if there isn't any inside.
|
|
+ if(!(stat & BROKEN) && !(flags_1 & NODECONSTRUCT_1) && buildstage != 0) //can't break the electronics if there isn't any inside.
|
|
stat |= BROKEN
|
|
update_icon()
|
|
|
|
/obj/machinery/firealarm/deconstruct(disassembled = TRUE)
|
|
- if(!(flags & NODECONSTRUCT))
|
|
+ if(!(flags_1 & NODECONSTRUCT_1))
|
|
new /obj/item/stack/sheet/metal(loc, 1)
|
|
if(!(stat & BROKEN))
|
|
var/obj/item/I = new /obj/item/electronics/firealarm(loc)
|