mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
add conditions viewer below healthbar, fix hotkeys autosend
This commit is contained in:
@@ -321,6 +321,7 @@ function HotkeysManager.checkSelectedHotkey(focused)
|
||||
hotkeyText:setText(hotkeyLabelSelectedOnList.value)
|
||||
|
||||
if hotkeyLabelSelectedOnList.value ~= '' then
|
||||
sendAutomatically:setChecked(hotkeyLabelSelectedOnList.autoSend)
|
||||
sendAutomatically:enable()
|
||||
else
|
||||
sendAutomatically:disable()
|
||||
@@ -431,7 +432,7 @@ function HotkeysManager.onHotkeyTextChange(id, value)
|
||||
else
|
||||
sendAutomatically:disable()
|
||||
sendAutomatically:setChecked(false)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user