Plasmaman Suit only extinguishes when you're on fire.

Had to make it disregard negative firestacks because showers (and
probably some other things). This check is extremely similar to one just
a few lines above, so it makes sense.
This commit is contained in:
KasparoVy
2017-02-28 00:50:03 -05:00
parent 1634788ba5
commit f425f0ae4e
@@ -249,7 +249,7 @@
H.visible_message("<span class='danger'>[H]'s body reacts with the atmosphere and bursts into flames!</span>","<span class='userdanger'>Your body reacts with the atmosphere and bursts into flame!</span>")
H.IgniteMob()
else
if(H.fire_stacks)
if(H.on_fire && H.fire_stacks > 0)
var/obj/item/clothing/suit/space/eva/plasmaman/P = H.wear_suit
if(istype(P))
P.Extinguish(H)