mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-21 23:15:54 +02:00
Version 0.99 BETA
This commit is contained in:
@@ -40,11 +40,14 @@ local defaultOptions = {
|
||||
turnDelay = 30,
|
||||
hotkeyDelay = 30,
|
||||
|
||||
ignoreServerDirection = true,
|
||||
realDirection = false,
|
||||
|
||||
wsadWalking = false,
|
||||
walkFirstStepDelay = 200,
|
||||
walkTurnDelay = 100,
|
||||
walkStairsDelay = 50,
|
||||
walkTeleportDelay = 200
|
||||
walkTeleportDelay = 200
|
||||
}
|
||||
|
||||
local optionsWindow
|
||||
@@ -292,6 +295,12 @@ function setOption(key, value, force)
|
||||
if modules.game_console and modules.game_console.consoleToggleChat:isChecked() ~= value then
|
||||
modules.game_console.consoleToggleChat:setChecked(value)
|
||||
end
|
||||
elseif key == 'ignoreServerDirection' then
|
||||
g_game.ignoreServerDirection(value)
|
||||
elseif key == 'realDirection' then
|
||||
g_game.showRealDirection(value)
|
||||
elseif key == 'hotkeyDelay' then
|
||||
generalPanel:getChildById('hotkeyDelayLabel'):setText(tr('Hotkey delay: %s ms', value))
|
||||
elseif key == 'walkFirstStepDelay' then
|
||||
generalPanel:getChildById('walkFirstStepDelayLabel'):setText(tr('Walk delay after first step: %s ms', value))
|
||||
elseif key == 'walkTurnDelay' then
|
||||
|
Reference in New Issue
Block a user