From 7b0ec0faf2fb753684157e8a257f731e7d9874a9 Mon Sep 17 00:00:00 2001 From: Ei <59531041+Mewtwo2387@users.noreply.github.com> Date: Thu, 13 Jun 2024 17:06:01 +0100 Subject: [PATCH] [QoL] Fixed language settings cursor (#2179) --- src/system/settings/settings.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/system/settings/settings.ts b/src/system/settings/settings.ts index fb446e1e081..dc0fa379d69 100644 --- a/src/system/settings/settings.ts +++ b/src/system/settings/settings.ts @@ -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 {