Add next level command and refactor player retrieval in GameManager; update scene files for consistency

This commit is contained in:
2025-08-26 23:23:02 +02:00
parent 6c733d3159
commit afca70e6c6
5 changed files with 43 additions and 14 deletions

View File

@@ -148,5 +148,11 @@ public partial class ConsoleManager : Node
}
LimboConsole.Info("All skills have been deactivated.");
}
[ConsoleCommand("next_level", "Advances the game to the next level.")]
private void GoToNextLevelCommand()
{
_gameManager.OnLevelComplete();
}
}