make metadata optional

This commit is contained in:
SpikeHD
2022-07-19 17:07:10 -07:00
parent d38459bb8a
commit 8ff06f6d29
4 changed files with 41 additions and 7 deletions

View File

@@ -100,11 +100,13 @@ export default class ServerLaunchSection extends React.Component<{}, IState> {
// Connect to proxy
if (config.toggle_grasscutter) {
const patched = await patchGame()
if (config.patch_metadata) {
const patched = await patchGame()
if (!patched) {
alert('Could not patch game!')
return
if (!patched) {
alert('Could not patch game!')
return
}
}
const game_exe = await getGameExecutable()