miepzerino
2025-04-02 d4552adc9ec0998725e663c47114e6836061ad2c
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);