Update sound engine with some sound fixes

* Refactor client module
This commit is contained in:
Eduardo Bart
2013-01-16 16:46:42 -02:00
parent 52ede065fc
commit 62cd3d04e1
11 changed files with 223 additions and 174 deletions

View File

@@ -184,7 +184,7 @@ function Options.setOption(key, value)
modules.game_interface.updateStretchShrink()
end)
elseif key == 'enableMusic' then
g_sounds.enableMusic(value)
g_sounds.enableAudio(value)
elseif key == 'showLeftPanel' then
addEvent(function()
modules.game_interface.getLeftPanel():setOn(value)