Fixes trying mouth to mouth when people are on fire (#11700)

This commit is contained in:
Casper3667
2021-04-19 19:10:29 +02:00
committed by GitHub
parent 0c517b9a21
commit df1ef6c2fb
2 changed files with 7 additions and 1 deletions
@@ -102,7 +102,7 @@
switch(M.a_intent)
if(I_HELP)
if(H != src && istype(H) && (is_asystole() || (status_flags & FAKEDEATH) || failed_last_breath))
if(H != src && istype(H) && (is_asystole() || (status_flags & FAKEDEATH) || failed_last_breath) && !src.on_fire)
if (cpr)
cpr = FALSE
return
+6
View File
@@ -0,0 +1,6 @@
author: TheGreyWolf
delete-after: True
changes:
- bugfix: "You will no longer attempt to resuscitate prone people who are on fire, instead they will be put out first."