HOTFIX Fix pickup effects occurring with verb creation (#38705)

* fix: don't run pickup effects on verb creation

* review

* redundant

---------

Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com>
This commit is contained in:
Perry Fraser
2025-10-11 15:42:10 -04:00
committed by GitHub
parent e89651c774
commit 5ade6688e7
9 changed files with 141 additions and 34 deletions

View File

@@ -379,7 +379,7 @@ public abstract class SharedStrippableSystem : EntitySystem
return false;
}
if (!_handsSystem.CanPickupToHand(target, activeItem.Value, handName, checkActionBlocker: false, target.Comp))
if (!_handsSystem.CanPickupToHand(target, activeItem.Value, handName, checkActionBlocker: false, handsComp: target.Comp))
{
_popupSystem.PopupCursor(Loc.GetString("strippable-component-cannot-put-message", ("owner", Identity.Entity(target, EntityManager))));
return false;