mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 18:22:39 +00:00
Fixes #9509
This commit is contained in:
@@ -138,14 +138,10 @@
|
|||||||
|
|
||||||
else if(iswelder(W) && (wires.CanDeconstruct() || (stat & BROKEN)))
|
else if(iswelder(W) && (wires.CanDeconstruct() || (stat & BROKEN)))
|
||||||
if(weld(W, user))
|
if(weld(W, user))
|
||||||
if (stat & BROKEN)
|
if(assembly)
|
||||||
stat &= ~BROKEN
|
|
||||||
cancelCameraAlarm()
|
|
||||||
update_icon()
|
|
||||||
update_coverage()
|
|
||||||
else if(assembly)
|
|
||||||
assembly.loc = src.loc
|
assembly.loc = src.loc
|
||||||
assembly.state = 1
|
assembly.state = 1
|
||||||
|
assembly = null //so qdel doesn't eat it.
|
||||||
new /obj/item/stack/cable_coil(src.loc, length=2)
|
new /obj/item/stack/cable_coil(src.loc, length=2)
|
||||||
qdel(src)
|
qdel(src)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user