From 7709414a74c3919addfe2f47f88ef6d0bee3b1a8 Mon Sep 17 00:00:00 2001 From: SabreML <57483089+SabreML@users.noreply.github.com> Date: Tue, 10 Aug 2021 23:09:33 +0100 Subject: [PATCH] No clicking yourself to put out fires --- code/modules/mob/living/carbon/carbon.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/modules/mob/living/carbon/carbon.dm b/code/modules/mob/living/carbon/carbon.dm index 160a9d55288..6b275922345 100644 --- a/code/modules/mob/living/carbon/carbon.dm +++ b/code/modules/mob/living/carbon/carbon.dm @@ -272,6 +272,8 @@ * * target - The mob who is currently on fire */ /mob/living/carbon/proc/pat_out(mob/living/target) + if(target == src) + return // Probably shouldn't be able to pat yourself out. var/self_message = "You try to extinguish [target]!" if(prob(30) && ishuman(src)) // 30% chance of burning your hands var/mob/living/carbon/human/H = src