Fixes an issue with smes deconstruction

This commit is contained in:
Yoshax
2017-03-30 16:40:33 +01:00
parent e9ad3eba3a
commit fb7da48588

View File

@@ -345,7 +345,10 @@
usr << "\red You have disassembled the SMES cell!"
var/obj/structure/frame/M = new /obj/structure/frame(src.loc)
M.frame_type = "machine"
M.frame_type = new /datum/frame/frame_types/machine
M.anchored = 1
var/obj/item/weapon/circuitboard/C = new /obj/item/weapon/circuitboard/smes
M.circuit = C
M.state = 2
M.icon_state = "machine_1"
for(var/obj/I in component_parts)