fix config stuff

This commit is contained in:
SpikeHD
2022-05-13 22:55:58 -07:00
parent e95b65f167
commit 939242254e
3 changed files with 24 additions and 20 deletions

View File

@@ -74,7 +74,7 @@ export default class ServerLaunchSection extends React.Component<IProps, IState>
async playGame() {
const config = await getConfig()
if (!config.game_path) return
if (!config.game_install_path) return
// Connect to proxy
if (config.toggle_grasscutter) {
@@ -87,7 +87,7 @@ export default class ServerLaunchSection extends React.Component<IProps, IState>
}
// Launch the program
await invoke('run_program', { path: config.game_path })
await invoke('run_program', { path: config.game_install_path })
}
async launchServer() {