mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
straightforward signal and slots system for lua events
This commit is contained in:
@@ -7,6 +7,9 @@ local function onGameKeyPress(self, keyCode, keyChar, keyboardModifiers)
|
||||
if keyCode == KeyG then
|
||||
CharacterList.show()
|
||||
return true
|
||||
elseif keyCode == KeyQ then
|
||||
Game.logout()
|
||||
return true
|
||||
end
|
||||
end
|
||||
return false
|
||||
|
Reference in New Issue
Block a user