Refactor GameManager and PlayerDeathComponent for improved state management and logging; update scene connections for player death handling
This commit is contained in:
@@ -31,6 +31,7 @@ public partial class PlayerDeathComponent : Node2D
|
||||
}
|
||||
|
||||
_gameManager.RemoveLives(1);
|
||||
GD.Print("Player death, lives left: " + _gameManager.GetLives());
|
||||
_gameManager.ResetCurrentSessionState();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user