backend: Fix issue causing the Continue button to be unresponsive on new installs (#376)

This commit is contained in:
Tyler Wilding 2023-11-05 13:46:54 -05:00 committed by GitHub
parent 633aac0737
commit 4369ba5fba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -406,6 +406,7 @@ impl LauncherConfig {
let active_version = self.active_version.clone();
let active_version_folder = self.active_version_folder.clone();
let game_config = self.get_supported_game_config_mut(game_name)?;
game_config.is_installed = installed;
if installed {
game_config.version = active_version;
game_config.version_folder = active_version_folder;