Fixed mistake that crashes the game if you go to play singleplayer through the menu.
This commit is contained in:
@@ -75,8 +75,6 @@ static void state_render(Presentation_State *state) {
|
|||||||
case Main_Menu_Mode_Singleplayer: {
|
case Main_Menu_Mode_Singleplayer: {
|
||||||
ctx->mode = Main_Menu_Mode_Game_Setup;
|
ctx->mode = Main_Menu_Mode_Game_Setup;
|
||||||
game_session_init_default_settings(false, &ctx->session_settings);
|
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;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user