fix: fixed default game edition selection at start

This commit is contained in:
Observer KRypt0n_ 2023-04-23 22:31:57 +02:00
parent 4151f67249
commit 074139a660
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2

View file

@ -162,6 +162,9 @@ fn main() {
}} }}
", BACKGROUND_FILE.to_string_lossy())); ", BACKGROUND_FILE.to_string_lossy()));
// Set game edition
CONFIG.launcher.edition.select();
// Set UI language // Set UI language
let lang = CONFIG.launcher.language.parse().expect("Wrong language format used in config"); let lang = CONFIG.launcher.language.parse().expect("Wrong language format used in config");