mirror of
https://github.com/glest/glest-source.git
synced 2025-09-30 01:18:58 +02:00
volume changes in the options menu have instant effect when pressing OK
This commit is contained in:
@@ -468,8 +468,9 @@ void MenuStateOptions::saveConfig(){
|
||||
}
|
||||
|
||||
config.save();
|
||||
Renderer::getInstance().loadConfig();
|
||||
SoundRenderer::getInstance().loadConfig();
|
||||
SoundRenderer::getInstance().setMusicVolume(CoreData::getInstance().getMenuMusic());
|
||||
Renderer::getInstance().loadConfig();
|
||||
}
|
||||
|
||||
void MenuStateOptions::setActiveInputLable(GraphicLabel *newLable)
|
||||
|
Reference in New Issue
Block a user