mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2024-11-26 21:30:47 +00:00
Fix handling
This commit is contained in:
parent
7c9b2f7335
commit
f1ecb1aab0
@ -152,7 +152,9 @@ 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')
|
||||
if (!this.state.redirect_more) {
|
||||
this.toggleOption('redirect_more')
|
||||
}
|
||||
}
|
||||
|
||||
this.setState({
|
||||
|
Loading…
Reference in New Issue
Block a user