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
This commit is contained in:
SlamBamActionman
2025-08-18 22:42:40 +02:00
committed by GitHub
parent 87705e0335
commit 47cf99fb7e
2 changed files with 2 additions and 2 deletions

View File

@@ -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)
{

View File

@@ -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!