No clicking yourself to put out fires

This commit is contained in:
SabreML
2021-08-11 15:52:22 +01:00
parent 301ee25b23
commit 7709414a74
+2
View File
@@ -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 = "<span class='warning'>You try to extinguish [target]!</span>"
if(prob(30) && ishuman(src)) // 30% chance of burning your hands
var/mob/living/carbon/human/H = src