WIP fixing menu rendering in CLI ASCII mode

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-03-18 14:08:21 +01:00
parent dc1acb7a2f
commit 839fae700f
8 changed files with 413 additions and 301 deletions

View File

@@ -184,6 +184,8 @@ class WolfEngine {
void _tickDifficultyMenu(EngineInput input) {
final menuResult = menuManager.updateDifficultySelection(input);
if (menuResult.goBack) {
// Explicitly keep the engine in menu mode when leaving this screen.
difficulty = null;
onGameWon();
return;
}