miepzerino
2025-04-02 7f1913677d73bc96b0a1bac649b3518e95d0fdbf
Assets/Scripts/Managers/GameManager.cs
@@ -165,8 +165,9 @@
                    if (playerInventory != null)
                    {
                        Item item = dropable.dropable;
                        playerInventory.AddItem(item, dropable.dropAmount);
                        CharacterLootObtained(tileGameObject.transform.position, item, dropable.dropAmount);
                        int dropAmount = dropable.GetRandomDropAmount();
                        playerInventory.AddItem(item, dropAmount);
                        CharacterLootObtained(tileGameObject.transform.position, item, dropAmount);
                    }
                }
                tilemap.SetTile(cellCoord, null);