This commit is contained in:
Ghommie
2020-02-17 00:13:16 +01:00
parent 23ae9996d2
commit aba636a44c
2 changed files with 3 additions and 2 deletions

View File

@@ -67,7 +67,8 @@
/obj/item/gun/energy/Destroy()
if(flags_1 & INITIALIZED_1)
QDEL_NULL(cell)
QDEL_LIST(ammo_type)
if(!(O.flags_1 & HOLOGRAM_1)) //holodeck stuff.
QDEL_LIST(ammo_type)
STOP_PROCESSING(SSobj, src)
return ..()