From fd197776c1e058a02af5aca01f4be55a01ae7d84 Mon Sep 17 00:00:00 2001 From: Dany Petit Date: Sat, 29 Aug 2026 22:31:22 +0200 Subject: [PATCH] fix(cli): make --skipMenu actually start a game Before, --skipMenu only hid the main menu but never emitted signalNewGame, so the game window showed just the UI bar over an empty screen with no map. Now it starts a new game with generated terrain directly. --- src/Game.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Game.cxx b/src/Game.cxx index 169b6d1d96..9687c794ee 100644 --- a/src/Game.cxx +++ b/src/Game.cxx @@ -81,6 +81,12 @@ void Game::initialize() void Game::run(bool SkipMenu) { + if (SkipMenu) + { + // --skipMenu jumps straight into the game, so it needs to start one + newGame(true); + } + Camera::instance().centerScreenOnMapCenter(); SDL_Event event;