mirror of
https://github.com/glest/glest-source.git
synced 2025-08-30 03:09:49 +02:00
- bugfix to save and close options menu when ok is clicked
This commit is contained in:
@@ -1050,9 +1050,9 @@ void MenuStateOptions::mouseClick(int x, int y, MouseButton mouseButton){
|
||||
return;
|
||||
}
|
||||
|
||||
//saveConfig();
|
||||
//mainMenu->setState(new MenuStateRoot(program, mainMenu));
|
||||
//return;
|
||||
saveConfig();
|
||||
mainMenu->setState(new MenuStateRoot(program, mainMenu));
|
||||
return;
|
||||
}
|
||||
else if(buttonAbort.mouseClick(x, y)){
|
||||
soundRenderer.playFx(coreData.getClickSoundA());
|
||||
|
Reference in New Issue
Block a user