Fixed for issue 564. Now we do nothing if we use the "menu key" in the language selection menu.
This commit is contained in:
@@ -348,7 +348,10 @@ string GameStateMenu::getLang(string s)
|
|||||||
|
|
||||||
void GameStateMenu::setLang(int id)
|
void GameStateMenu::setLang(int id)
|
||||||
{
|
{
|
||||||
options[Options::LANG].str = langs[id - 1];
|
if(id != kCancelMenuID)
|
||||||
|
{
|
||||||
|
options[Options::LANG].str = langs[id - 1];
|
||||||
|
}
|
||||||
options.save();
|
options.save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user