[QoL] Fixed language settings cursor (#2179)
This commit is contained in:
parent
8728442657
commit
7b0ec0faf2
|
@ -463,8 +463,7 @@ export function setSetting(scene: BattleScene, setting: string, value: integer):
|
|||
if (scene.ui) {
|
||||
const cancelHandler = () => {
|
||||
scene.ui.revertMode();
|
||||
const languageSetting = Setting.find(setting => setting.key === SettingKeys.Language);
|
||||
(scene.ui.getHandler() as SettingsUiHandler).setOptionCursor(Setting.indexOf(languageSetting), 0, true);
|
||||
(scene.ui.getHandler() as SettingsUiHandler).setOptionCursor(0, 0, true);
|
||||
};
|
||||
const changeLocaleHandler = (locale: string): boolean => {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue