Version 1.9

This commit is contained in:
OTCv8
2020-01-21 23:45:52 +01:00
parent 11ad766308
commit be8704ee92
56 changed files with 3517 additions and 483 deletions

View File

@@ -4,6 +4,7 @@ local defaultOptions = {
showPing = true,
fullscreen = false,
classicView = true,
cacheMap = false,
classicControl = true,
smartWalk = false,
dash = false,
@@ -49,7 +50,10 @@ local defaultOptions = {
walkTurnDelay = 100,
walkStairsDelay = 50,
walkTeleportDelay = 200,
walkCtrlTurnDelay = 150
walkCtrlTurnDelay = 150,
actionBar1 = true,
actionBar2 = false
}
local optionsWindow
@@ -343,8 +347,10 @@ function setOption(key, value, force)
g_settings.set(key, value)
options[key] = value
if key == 'classicView' or key == 'rightPanels' or key == 'leftPanels' then
if key == 'classicView' or key == 'rightPanels' or key == 'leftPanels' or key == 'cacheMap' then
modules.game_interface.refreshViewMode()
elseif key == 'actionBar1' or key == 'actionBar2' then
modules.game_actionbar.show()
end
end