mirror of
https://github.com/edubart/otclient.git
synced 2025-10-20 06:23:26 +02:00
@@ -25,7 +25,8 @@ local defaultOptions = {
|
||||
ambientLight = 25,
|
||||
displayNames = true,
|
||||
displayHealth = true,
|
||||
displayText = true
|
||||
displayText = true,
|
||||
dontStretchShrink = false
|
||||
}
|
||||
|
||||
local optionsWindow
|
||||
@@ -223,6 +224,10 @@ function setOption(key, value, force)
|
||||
gameMapPanel:setDrawHealthBars(value)
|
||||
elseif key == 'displayText' then
|
||||
gameMapPanel:setDrawTexts(value)
|
||||
elseif key == 'dontStretchShrink' then
|
||||
addEvent(function()
|
||||
modules.game_interface.updateStretchShrink()
|
||||
end)
|
||||
end
|
||||
|
||||
-- change value for keybind updates
|
||||
|
Reference in New Issue
Block a user