Skip to content

fix(cli): make --skipMenu actually start a game - #1129

Merged
AnotherFoxGuy merged 1 commit into
CytopiaTeam:masterfrom
Danux-Be:fix-skipmenu
Aug 30, 2026
Merged

fix(cli): make --skipMenu actually start a game#1129
AnotherFoxGuy merged 1 commit into
CytopiaTeam:masterfrom
Danux-Be:fix-skipmenu

Conversation

@Danux-Be

Copy link
Copy Markdown
Contributor

Hi! 👋

While evaluating a potential revival of Cytopia (we've set up a fork at Danux-Be/Cytopia with a green CI), we noticed this small bug along the way.

Problem

--skipMenu only hides the main menu but never emits signalNewGame, so the game shows just the UI bar over an empty screen — no map is ever created.

Fix

Start a new game with generated terrain when --skipMenu is passed. As a bonus, this makes the flag usable as an automated smoke test (game boots directly into a generated map).

Testing

  • Arch Linux, GCC 16.2, CMake 4.4: game boots straight into a generated terrain with --skipMenu
  • Clean shutdown, no assertions triggered (Debug build with ENABLE_DEBUG=ON)

Thanks for all the work on this project! We'd love to help bring it back to life — happy to split or rework this contribution however you prefer.

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.
@AnotherFoxGuy
AnotherFoxGuy merged commit 8872931 into CytopiaTeam:master Aug 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants