mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02: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