mirror of
https://github.com/glest/glest-source.git
synced 2025-08-31 03:39:54 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//saveConfig();
|
saveConfig();
|
||||||
//mainMenu->setState(new MenuStateRoot(program, mainMenu));
|
mainMenu->setState(new MenuStateRoot(program, mainMenu));
|
||||||
//return;
|
return;
|
||||||
}
|
}
|
||||||
else if(buttonAbort.mouseClick(x, y)){
|
else if(buttonAbort.mouseClick(x, y)){
|
||||||
soundRenderer.playFx(coreData.getClickSoundA());
|
soundRenderer.playFx(coreData.getClickSoundA());
|
||||||
|
Reference in New Issue
Block a user