Auto redirect more when setting other game

This commit is contained in:
Thoronium
2023-06-25 13:30:15 -06:00
parent 38436472e3
commit 7c9b2f7335

View File

@@ -150,6 +150,11 @@ 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')) {
this.toggleOption('redirect_more')
}
this.setState({
game_install_path: value,
})