Replace all secondary flags with bitflags stored in the flags_2 var
This commit is contained in:
@@ -590,11 +590,11 @@
|
||||
|
||||
|
||||
/obj/machinery/power/apc/obj_break(damage_flag)
|
||||
if(!(flags & NODECONSTRUCT))
|
||||
if(!(flags_1 & NODECONSTRUCT_1))
|
||||
set_broken()
|
||||
|
||||
/obj/machinery/power/apc/deconstruct(disassembled = TRUE)
|
||||
if(!(flags & NODECONSTRUCT))
|
||||
if(!(flags_1 & NODECONSTRUCT_1))
|
||||
if(!(stat & BROKEN))
|
||||
set_broken()
|
||||
if(opened != 2)
|
||||
|
||||
Reference in New Issue
Block a user