mirror of
https://github.com/edubart/otclient.git
synced 2025-05-05 03:59:21 +02:00
Fix audio enable/disable checkbox
This commit is contained in:
parent
2fd8d4e580
commit
95593964bb
@ -184,7 +184,7 @@ function Options.setOption(key, value)
|
||||
modules.game_interface.updateStretchShrink()
|
||||
end)
|
||||
elseif key == 'enableMusic' then
|
||||
g_sounds.enableAudio(value)
|
||||
g_sounds.setAudioEnabled(value)
|
||||
elseif key == 'showLeftPanel' then
|
||||
addEvent(function()
|
||||
modules.game_interface.getLeftPanel():setOn(value)
|
||||
|
Loading…
x
Reference in New Issue
Block a user