From 680c6b04a466400d6bb4f329a07d73e5d2c62cbe Mon Sep 17 00:00:00 2001 From: Thoronium <107363768+NotThorny@users.noreply.github.com> Date: Thu, 28 Sep 2023 13:17:48 -0600 Subject: [PATCH] Remove unnecessary passing of args --- src/ui/components/ServerLaunchSection.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/ui/components/ServerLaunchSection.tsx b/src/ui/components/ServerLaunchSection.tsx index d1da316..2cfa0df 100644 --- a/src/ui/components/ServerLaunchSection.tsx +++ b/src/ui/components/ServerLaunchSection.tsx @@ -219,10 +219,7 @@ export default class ServerLaunchSection extends React.Component } else { if (config.launch_args.length < 1) { // Run relative when there are no args - await invoke('run_program_relative', { - path: exe || config.game_install_path, - args: config.launch_args, - }) + await invoke('run_program_relative', { path: exe || config.game_install_path }) } else { // Run directly when there are args await invoke('run_program', {