Fixed for issue 564. Now we do nothing if we use the "menu key" in the language selection menu.

This commit is contained in:
Xawotihs
2010-12-16 18:36:07 +00:00
parent ae9ae7783b
commit eaeb9cc2a6

View File

@@ -348,7 +348,10 @@ string GameStateMenu::getLang(string s)
void GameStateMenu::setLang(int id)
{
options[Options::LANG].str = langs[id - 1];
if(id != kCancelMenuID)
{
options[Options::LANG].str = langs[id - 1];
}
options.save();
}