Merge pull request #6636 from KasparoVy/plasmabath

Plasmaman Suit Auto-Extinguishing Fix
This commit is contained in:
Fox McCloud
2017-02-28 01:11:01 -05:00
committed by GitHub
@@ -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)