diff --git a/src/ui/components/ServerLaunchSection.tsx b/src/ui/components/ServerLaunchSection.tsx index 02cadf7..b5052c9 100644 --- a/src/ui/components/ServerLaunchSection.tsx +++ b/src/ui/components/ServerLaunchSection.tsx @@ -44,11 +44,13 @@ export default class ServerLaunchSection extends React.Component const config = await getConfig() if (!config.game_path) return + + // Connect to proxy + await invoke('connect', { port: 8365 }) // Launch the program await invoke('run_program', { path: config.game_path }) } - render() { return (