From 0a78a9d056d72ece5f1f4b839ee6fd5cbba2688f Mon Sep 17 00:00:00 2001 From: Purp1e <47248616+Purple-CSGO@users.noreply.github.com> Date: Tue, 25 Mar 2025 00:55:25 +0800 Subject: [PATCH] [fix] fast launch not working --- src/components/cstb/FastLaunch.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/cstb/FastLaunch.tsx b/src/components/cstb/FastLaunch.tsx index ac3f85b..0c086f9 100644 --- a/src/components/cstb/FastLaunch.tsx +++ b/src/components/cstb/FastLaunch.tsx @@ -23,7 +23,7 @@ const FastLaunch = () => { onPress={() => { void invoke("launch_game", { steamPath: `${steam.state.steamDir}/steam.exe`, - launchOption: tool.state.launchOptions[tool.state.launchIndex] || "", + launchOption: tool.state.launchOptions[tool.state.launchIndex].option || "", server: "perfectworld", }) addToast({ title: "启动国服成功" }) @@ -37,7 +37,7 @@ const FastLaunch = () => { onPress={() => { void invoke("launch_game", { steamPath: `${steam.state.steamDir}/steam.exe`, - launchOption: tool.state.launchOptions[tool.state.launchIndex] || "", + launchOption: tool.state.launchOptions[tool.state.launchIndex].option || "", server: "worldwide", }) addToast({ title: "启动国际服成功" })