[MIRROR] Fixes a bunch of computers (#2766)
* Fixes a bunch of computers (#30693) * Fixes a bunch of computers
This commit is contained in:
committed by
Poojawa
parent
35fc9d0391
commit
7d34286803
@@ -19,6 +19,10 @@
|
||||
/obj/machinery/computer/Initialize(mapload, obj/item/circuitboard/C)
|
||||
. = ..()
|
||||
power_change()
|
||||
if(!QDELETED(C))
|
||||
qdel(circuit)
|
||||
circuit = C
|
||||
C.forceMove(src)
|
||||
|
||||
/obj/machinery/computer/Destroy()
|
||||
QDEL_NULL(circuit)
|
||||
|
||||
Reference in New Issue
Block a user