Fix storage voice control bug after handssystem refactor (#38810)

This commit is contained in:
ArtisticRoomba
2025-07-06 16:42:13 -07:00
committed by GitHub
parent 51ccaa7ab4
commit faa4508b65

View File

@@ -40,7 +40,7 @@ public sealed class StorageVoiceControlSystem : EntitySystem
return;
// If the player has something in their hands, try to insert it into the storage
if (_hands.TryGetActiveItem(ent.Owner, out var activeItem))
if (_hands.TryGetActiveItem(args.Source, out var activeItem))
{
// Disallow insertion and provide a reason why if the person decides to insert the item into itself
if (ent.Owner.Equals(activeItem.Value))