Add next level command and refactor player retrieval in GameManager; update scene files for consistency
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user