Fix storage voice control bug after handssystem refactor (#38810)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user