player can work now

This commit is contained in:
2023-04-10 18:01:16 +03:00
parent f2753a363b
commit 2f69a2b046
19 changed files with 267 additions and 64 deletions
@@ -8,6 +8,7 @@ public class StoreContainer : BaseInteractableObject
public override void Interact(Player player)
{
base.Interact(player);
if (player.IsHoldContainerItem())
{
var clone = Instantiate(_sellableItemSO);