Fix runtime when setting up a sec character before atoms initialize (#43527)

This commit is contained in:
Tad Hardesty
2019-04-08 15:54:06 -04:00
committed by moo
parent 9c9cc9110a
commit b992620011
+2 -1
View File
@@ -57,7 +57,8 @@
fire_delay = shot.delay
/obj/item/gun/energy/Destroy()
QDEL_NULL(cell)
if (cell)
QDEL_NULL(cell)
STOP_PROCESSING(SSobj, src)
return ..()