Merge pull request #15892 from SandPoot/let's-sing-the-reference-clearing-song

Solves some harddels
This commit is contained in:
Lin
2022-12-12 19:11:49 -07:00
committed by GitHub
41 changed files with 375 additions and 213 deletions
+1 -1
View File
@@ -300,7 +300,7 @@
area.power_equip = FALSE
area.power_environ = FALSE
area.power_change()
area.poweralert(TRUE, src)
area.poweralert(FALSE, src)
if(occupier)
malfvacate(1)
qdel(wires)
+1 -1
View File
@@ -500,7 +500,7 @@
drop_light_tube()
new /obj/item/stack/cable_coil(loc, 1, "red")
transfer_fingerprints_to(newlight)
if(cell)
if(!QDELETED(cell))
newlight.cell = cell
cell.forceMove(newlight)
cell = null