Skip to content

Commit

Permalink
Fix game path not properly updating (LiveSplit#37)
Browse files Browse the repository at this point in the history
This fixes the issue where you would change the game path but it wouldn't actually update it so clicking start game would open the file from the previous game path.
  • Loading branch information
Refragg authored Sep 2, 2023
1 parent c34f3b6 commit b1726b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,7 @@ unsafe extern "C" fn update(data: *mut c_void, settings: *mut obs_data_t) {

handle_splits_path_change(state, settings.splits_path);

state.game_path = settings.game_path;
state.auto_save = settings.auto_save;
state.layout = settings.layout;

Expand Down

0 comments on commit b1726b1

Please sign in to comment.