diff --git a/code/game/objects/items/weapons/tanks/tanks.dm b/code/game/objects/items/weapons/tanks/tanks.dm index 4542da3085..82da1a2f33 100644 --- a/code/game/objects/items/weapons/tanks/tanks.dm +++ b/code/game/objects/items/weapons/tanks/tanks.dm @@ -67,10 +67,10 @@ var/list/global/tank_gauge_cache = list() return /obj/item/weapon/tank/Destroy() - qdel(air_contents) + qdel_null(air_contents) processing_objects.Remove(src) - qdel(src.proxyassembly) + qdel_null(src.proxyassembly) if(istype(loc, /obj/item/device/transfer_valve)) var/obj/item/device/transfer_valve/TTV = loc @@ -609,6 +609,10 @@ var/list/global/tank_gauge_cache = list() /obj/item/device/tankassemblyproxy/receive_signal() //This is mainly called by the sensor through sense() to the holder, and from the holder to here. tank.ignite() //boom (or not boom if you made shijwtty mix) +/obj/item/device/tankassemblyproxy/Destroy() + . = ..() + tank = null + assembly = null /obj/item/weapon/tank/proc/assemble_bomb(W,user) //Bomb assembly proc. This turns assembly+tank into a bomb var/obj/item/device/assembly_holder/S = W