mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-25 01:22:13 +00:00
Fixes lung reinflation (#7381)
Fixes a runtime making syringe lung reinflation not work properly on other people.
This commit is contained in:
@@ -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!"))
|
||||
|
||||
Reference in New Issue
Block a user