Add max options to language select

Add max options to language select (fixes #819)
This commit is contained in:
Flashfyre 2024-05-13 13:10:01 -04:00
parent 2a32189ea1
commit 9a49691a9e

View File

@ -206,19 +206,20 @@ export function setSetting(scene: BattleScene, setting: Setting, value: integer)
label: 'Deutsch', label: 'Deutsch',
handler: () => changeLocaleHandler('de') handler: () => changeLocaleHandler('de')
}, },
{
label: '简体中文',
handler: () => changeLocaleHandler('zh_CN')
},
{ {
label: 'Português (BR)', label: 'Português (BR)',
handler: () => changeLocaleHandler('pt_BR') handler: () => changeLocaleHandler('pt_BR')
}, },
{
label: '简体中文',
handler: () => changeLocaleHandler('zh_CN')
},
{ {
label: 'Cancel', label: 'Cancel',
handler: () => cancelHandler() handler: () => cancelHandler()
} }
] ],
maxOptions: 7
}); });
return false; return false;
} }