Merge branch 'master' of https://github.com/Citadel-Station-13/Citadel-Station-13 into tgui-alerts-and-what-not

This commit is contained in:
SandPoot
2021-10-08 21:05:41 -03:00
135 changed files with 144395 additions and 145067 deletions
+3 -4
View File
@@ -17,12 +17,8 @@
/obj/machinery/computer/Initialize(mapload, obj/item/circuitboard/C)
. = ..()
power_change()
/obj/machinery/computer/Destroy()
. = ..()
/obj/machinery/computer/process()
if(stat & (NOPOWER|BROKEN))
return FALSE
@@ -119,6 +115,9 @@
A.circuit = circuit
// Circuit removal code is handled in /obj/machinery/Exited()
circuit.forceMove(A)
// no it's not 4head the circuit's in nullspace which means this won't be called!!
circuit = null
component_parts -= circuit
A.set_anchored(TRUE)
if(stat & BROKEN)
if(user)
@@ -151,6 +151,7 @@
new_computer.RefreshParts()
new_computer.on_construction()
new_computer.circuit.moveToNullspace()
qdel(src)
return