Fixed mistake that crashes the game if you go to play singleplayer through the menu.

This commit is contained in:
2025-12-16 12:30:14 +01:00
parent 168278faf7
commit 9dc13e3feb

View File

@@ -75,8 +75,6 @@ static void state_render(Presentation_State *state) {
case Main_Menu_Mode_Singleplayer: {
ctx->mode = Main_Menu_Mode_Game_Setup;
game_session_init_default_settings(false, &ctx->session_settings);
ctx->ingame_ctx->game_instance = ctx->game_instance;
presentation_state_machine_go_to(&presentation_state_ingame);
break;
}