From d504a206f71a5398f504dca75bf28e8f197eb2b6 Mon Sep 17 00:00:00 2001 From: Verkister Date: Tue, 16 Feb 2021 01:12:05 +0200 Subject: [PATCH] Fixes malf airtank runtime spam who needs station exploding tank bombs when an empty tank can bomb the server itself --- code/game/objects/items/weapons/tanks/tanks.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/objects/items/weapons/tanks/tanks.dm b/code/game/objects/items/weapons/tanks/tanks.dm index 5f587fccf2..f6045c6174 100644 --- a/code/game/objects/items/weapons/tanks/tanks.dm +++ b/code/game/objects/items/weapons/tanks/tanks.dm @@ -341,6 +341,8 @@ var/list/global/tank_gauge_cache = list() return remove_air(moles_needed) /obj/item/weapon/tank/process() + if(!air_contents) + return //Allow for reactions air_contents.react() //cooking up air tanks - add phoron and oxygen, then heat above PHORON_MINIMUM_BURN_TEMPERATURE if(gauge_icon)