This commit is contained in:
2025-11-11 21:38:08 +01:00
parent 37fe40bb88
commit 81abf4801d
2 changed files with 9 additions and 6 deletions
@@ -330,9 +330,10 @@ fn update_game_directory(app_handle: tauri::AppHandle, path: String) {
});
if let Some(peer_ctrl) = peer_ctrl
&& let Err(e) = peer_ctrl.send(PeerCommand::SetGameDir(path.clone())) {
log::error!("Failed to send PeerCommand::SetGameDir: {e}");
}
&& let Err(e) = peer_ctrl.send(PeerCommand::SetGameDir(path.clone()))
{
log::error!("Failed to send PeerCommand::SetGameDir: {e}");
}
{
tauri::async_runtime::block_on(async {