Weapon hud fix

This commit is contained in:
Marco 2025-05-08 11:07:23 +02:00
commit 19da648f62
3 changed files with 17 additions and 3 deletions

View file

@ -123,7 +123,7 @@ public partial class GameManager : Node2D
//_inventoryManager.ItemAdded += (item, currentAmount) => _hud.AddInventoryItem(item, currentAmount);
//_inventoryManager.ItemRemoved += (item, currentAmount) => _hud.RemoveInventoryItem(item, currentAmount);
_inventoryManager.WeaponEquip += key => _hud.EquipWeapon(key);
_inventoryManager.WeaponUpdate += key => _hud.EquipWeapon(key);
}
PlayerRespawned += OnPlayerRespawned;