From: SlamBamActionman <83650252+SlamBamActionman@users.noreply.github.com> Date: Mon, 18 Aug 2025 20:42:40 +0000 (+0200) Subject: Fix medipen injectors not respecting entity identity (#39735) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=47cf99fb7e34888a3d4798122620e08f721e8f21;p=space-station-14.git Fix medipen injectors not respecting entity identity (#39735) * Remove StaminaResistance from places where it should not be * I lost a nukie round because of this bug * Who put the god damn changes on the god damn branch --- diff --git a/Content.Shared/Chemistry/EntitySystems/HypospraySystem.cs b/Content.Shared/Chemistry/EntitySystems/HypospraySystem.cs index 34bc44f1cb..324858afd7 100644 --- a/Content.Shared/Chemistry/EntitySystems/HypospraySystem.cs +++ b/Content.Shared/Chemistry/EntitySystems/HypospraySystem.cs @@ -144,7 +144,7 @@ public sealed class HypospraySystem : EntitySystem return false; } - _popup.PopupClient(Loc.GetString(msgFormat ?? "hypospray-component-inject-other-message", ("other", target)), target, user); + _popup.PopupClient(Loc.GetString(msgFormat ?? "hypospray-component-inject-other-message", ("other", Identity.Entity(target, EntityManager))), target, user); if (target != user) { diff --git a/Resources/Locale/en-US/chemistry/components/hypospray-component.ftl b/Resources/Locale/en-US/chemistry/components/hypospray-component.ftl index 96ebaa3ed0..36d229e78f 100644 --- a/Resources/Locale/en-US/chemistry/components/hypospray-component.ftl +++ b/Resources/Locale/en-US/chemistry/components/hypospray-component.ftl @@ -8,7 +8,7 @@ hypospray-volume-label = Volume: [color=white]{$currentVolume}/{$totalVolume}u[/ ## Entity -hypospray-component-inject-other-message = You inject {$other}. +hypospray-component-inject-other-message = You inject {THE($other)}. hypospray-component-inject-self-message = You inject yourself. hypospray-component-empty-message = Nothing to inject. hypospray-component-feel-prick-message = You feel a tiny prick!