From b2622b8d35d6a9294a65f4ea6d1ffe7202344707 Mon Sep 17 00:00:00 2001 From: EliteAsian <29520859+EliteAsian123@users.noreply.github.com> Date: Sat, 24 Aug 2024 16:41:40 -0400 Subject: [PATCH] Forgot to actually use them lol --- src/profiles/actions.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/profiles/actions.ts b/src/profiles/actions.ts index 997144a..3e9c30c 100644 --- a/src/profiles/actions.ts +++ b/src/profiles/actions.ts @@ -48,7 +48,7 @@ export const launch = async (activeProfile: ActiveProfile, profilePath: string): customArguments = activeProfile.launchArguments.trim().split(" "); } - let otherArguments: string[] = []; + const otherArguments: string[] = []; if (launchOptions.offlineArgument !== undefined && useOfflineStatus.getState().isOffline) { otherArguments.push(launchOptions.offlineArgument); @@ -63,7 +63,7 @@ export const launch = async (activeProfile: ActiveProfile, profilePath: string): await invoke("launch_profile", { profilePath: profilePath, execPath: launchOptions.executablePath, - arguments: [...launchOptions.arguments, ...customArguments] + arguments: [...launchOptions.arguments, ...otherArguments, ...customArguments] }); } catch (e) { showErrorDialog(e as string);