Add max options to language select

Add max options to language select (fixes #819)
pull/804/merge
Flashfyre 2024-05-13 13:10:01 -04:00
parent 2a32189ea1
commit 9a49691a9e
1 changed files with 6 additions and 5 deletions

View File

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