mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 23:26:51 +01: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