Fix incorrect message displaying when trying to remove stuck item from someones hand. (#28024)
* Fix * Fixed the other spot!
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user