mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 04:24:54 +02:00
Improvements in textedit and hotkey manager
* Set textedit's cursor position to the end of text in some situations * Send hotkey messages to the current channel instead of default channel * Allow to overwrite sprites using otml and pngs
This commit is contained in:
@@ -289,7 +289,7 @@ function call(keyCombo)
|
||||
local hotKey = hotkeyList[keyCombo]
|
||||
if hotKey ~= nil and hotKey.itemId == nil and hotKey.value ~= '' then
|
||||
if hotKey.autoSend then
|
||||
g_game.talk(hotKey.value)
|
||||
modules.game_console.sendMessage(hotKey.value)
|
||||
else
|
||||
modules.game_console.setTextEditText(hotKey.value)
|
||||
end
|
||||
|
Reference in New Issue
Block a user