Fix wielding two-handed items with only one hand (#40966)

* fix

* review
This commit is contained in:
slarticodefast
2025-10-24 09:25:42 +02:00
committed by GitHub
parent 1894ff8065
commit da5e72d43e
2 changed files with 16 additions and 2 deletions

View File

@@ -259,7 +259,7 @@ public abstract class SharedWieldableSystem : EntitySystem
return false;
}
if (_hands.CountFreeableHands((user, hands)) < component.FreeHandsRequired)
if (_hands.CountFreeableHands((user, hands), except: uid) < component.FreeHandsRequired)
{
if (!quiet)
{