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:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user