Fix activate in world not being passed to inventory slots correctly (#11879)

This commit is contained in:
Kara
2022-10-12 19:26:26 -07:00
committed by GitHub
parent 15f2a281e8
commit 475cb5b0cb

View File

@@ -199,12 +199,6 @@ public sealed class InventoryUIController : UIController, IOnStateEntered<Gamepl
return;
}
if (args.Function == ContentKeyFunctions.ActivateItemInWorld)
{
_inventorySystem.UIInventoryStorageActivate(control.SlotName);
return;
}
if (_playerInventory == null)
{
return;