mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 07:34:36 +01:00
Auto redirect more when setting other game
This commit is contained in:
@@ -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({
|
this.setState({
|
||||||
game_install_path: value,
|
game_install_path: value,
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user