mirror of
https://github.com/LCE-Hub/LCE-Emerald-Launcher.git
synced 2026-07-25 10:37:06 +00:00
fix(lceonline): windows workaround
This commit is contained in:
parent
a8068a95d0
commit
eba11c90a5
|
|
@ -251,6 +251,6 @@ pub async fn join_game(
|
|||
ip: host_ip,
|
||||
port: host_port,
|
||||
};
|
||||
#[cfg(target_os = "windows")] sleep(tokio::time::Duration::from_millis(30000)).await; //neo: workaround for Windows having a race condition where the game is launched before the relay proxy
|
||||
#[cfg(target_os = "windows")] sleep(tokio::time::Duration::from_millis(3000)).await; //neo: workaround for Windows having a race condition where the game is launched before the relay proxy
|
||||
crate::commands::game::launch_game(app, game_state, instance_id, vec![server], vec![]).await
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue