mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
Update sound engine with some sound fixes
* Refactor client module
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user