Fixes lung reinflation (#7381)

Fixes a runtime making syringe lung reinflation not work properly on other people.
This commit is contained in:
MarinaGryphon
2019-11-10 04:33:18 -06:00
committed by Erki
parent e0730b6032
commit 9f2e752df9
2 changed files with 42 additions and 1 deletions

View File

@@ -126,7 +126,7 @@
if(user.a_intent == I_GRAB && ishuman(user) && ishuman(target)) // we could add other things here eventually. trepanation maybe
var/mob/living/carbon/human/H = target
if (user.zone_sel.selecting == "chest") // impromptu needle thoracostomy, re-inflate a collapsed lung
if (check_zone(user.zone_sel.selecting) == "chest") // impromptu needle thoracostomy, re-inflate a collapsed lung
var/P = (user == target) ? "their" : (target + "\'s")
var/SM = (user == target) ? "your" : (target + "\'s")
user.visible_message(span("danger", "[user] aims \the [src] between [P] ribs!"), span("danger", "You aim \the [src] between [SM] ribs!"))