mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:55:35 +00:00
Debug menu fix
This commit is contained in:
parent
778dc10d9a
commit
fe01ac4ef1
9 changed files with 242 additions and 33 deletions
|
|
@ -58,6 +58,11 @@ public partial class GameManager : Node2D
|
|||
|
||||
SpawnBulletsContainer();
|
||||
|
||||
if (_hud != null)
|
||||
{
|
||||
this.GameStateChange += _hud.OnGameStateChanged;
|
||||
}
|
||||
|
||||
if (_inventoryManager != null && _hud != null)
|
||||
{
|
||||
_inventoryManager.ItemAdded += (item, currentAmount) => _hud.AddInventoryItem(item, currentAmount);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue