From: beck-thompson <107373427+beck-thompson@users.noreply.github.com> Date: Tue, 14 May 2024 19:01:12 +0000 (-0700) Subject: Fix incorrect message displaying when trying to remove stuck item from someones hand... X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=550a3afc52035e19e659b01624956c6751d290e1;p=space-station-14.git Fix incorrect message displaying when trying to remove stuck item from someones hand. (#28024) * Fix * Fixed the other spot! --- diff --git a/Content.Server/Strip/StrippableSystem.cs b/Content.Server/Strip/StrippableSystem.cs index 1dba52a698..6f0a1ecb32 100644 --- a/Content.Server/Strip/StrippableSystem.cs +++ b/Content.Server/Strip/StrippableSystem.cs @@ -496,7 +496,7 @@ namespace Content.Server.Strip if (!_handsSystem.TryGetHand(target, handName, out var handSlot, target.Comp)) { - _popupSystem.PopupCursor(Loc.GetString("strippable-component-item-slot-free-message", ("owner", target)), user); + _popupSystem.PopupCursor(Loc.GetString("strippable-component-item-slot-free-message", ("owner", Identity.Name(target, EntityManager, user))), user); return false; } @@ -511,7 +511,7 @@ namespace Content.Server.Strip if (!_handsSystem.CanDropHeld(target, handSlot, false)) { - _popupSystem.PopupCursor(Loc.GetString("strippable-component-cannot-drop-message", ("owner", target)), user); + _popupSystem.PopupCursor(Loc.GetString("strippable-component-cannot-drop-message", ("owner", Identity.Name(target, EntityManager, user))), user); return false; }