Fix handling

This commit is contained in:
Thoronium
2023-06-25 13:36:01 -06:00
parent 7c9b2f7335
commit f1ecb1aab0

View File

@@ -152,8 +152,10 @@ export default class Options extends React.Component<IProps, IState> {
// If setting any other game, automatically set to redirect more
if (!value.toLowerCase().includes('genshin' || 'yuanshen')) {
if (!this.state.redirect_more) {
this.toggleOption('redirect_more')
}
}
this.setState({
game_install_path: value,