config: fixed test path fox game diff getter

This commit is contained in:
Observer KRypt0n_ 2023-01-28 21:19:13 +02:00
parent bf3e58e21c
commit 84163c470d
No known key found for this signature in database
GPG key ID: 844DA47BA25FE1E2

View file

@ -13,7 +13,7 @@ use crate::ui::main::is_ready;
lazy_static::lazy_static! {
static ref CONFIG: config::Config = config::get().expect("Failed to load config");
static ref GAME: Game = Game::new(&CONFIG.game.path.join("fioweiofweuihj"));
static ref GAME: Game = Game::new(&CONFIG.game.path);
static ref GAME_DIFF: Option<VersionDiff> = match GAME.try_get_diff() {
Ok(diff) => Some(diff),