Skip to content

Commit

Permalink
shell: option_init needs gameflow to be loaded first
Browse files Browse the repository at this point in the history
  • Loading branch information
walkawayy authored and rr- committed May 31, 2022
1 parent 59209cf commit 110a56b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/shell.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,13 @@ void Shell_Init(const char *gameflow_path)
Music_Init();
Input_Init();
FMV_Init();
Option_Init();

if (!GameFlow_LoadFromFile(gameflow_path)) {
Shell_ExitSystem("MAIN: unable to load script file");
return;
}

Option_Init();
Savegame_InitCurrentInfo();
Savegame_ScanSavedGames();
Settings_Read();
Expand Down

0 comments on commit 110a56b

Please sign in to comment.