Deselect item on empty InventorySlot.cs clicked

This commit is contained in:
s-prechtl 2022-06-09 10:13:09 +02:00
parent 147af498c3
commit d492a9efbb

View file

@ -24,6 +24,8 @@ public class InventorySlot : ItemStorageSlot, IPointerClickHandler {
} else {
Debug.Log("Item not usable " + Item.displayName);
}
} else {
_playerController.DeselectItem();
}
}