mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 15:26:49 +01:00
add onGameStart/onGameEnd/onLogin/onLogout events
This commit is contained in:
@@ -365,8 +365,8 @@ local function onChannelList(channelList)
|
||||
end
|
||||
end
|
||||
|
||||
connect(Game, { onLogin = Console.create,
|
||||
onLogout = Console.destroy,
|
||||
connect(Game, { onGameStart = Console.create,
|
||||
onGameEnd = Console.destroy,
|
||||
onCreatureSpeak = onCreatureSpeak,
|
||||
onChannelList = onChannelList,
|
||||
onOpenChannel = onOpenChannel,
|
||||
|
||||
Reference in New Issue
Block a user