mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 20:43:26 +02:00
add onGameStart/onGameEnd/onLogin/onLogout events
This commit is contained in:
@@ -108,5 +108,5 @@ local function onApplicationClose()
|
||||
end
|
||||
|
||||
setonclose(onApplicationClose)
|
||||
connect(Game, { onLogin = Game.createInterface }, true)
|
||||
connect(Game, { onLogout = Game.destroyInterface })
|
||||
connect(Game, { onGameStart = Game.createInterface }, true)
|
||||
connect(Game, { onGameEnd = Game.destroyInterface })
|
||||
|
Reference in New Issue
Block a user