mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 14:43:27 +02:00
Version 1.8
This commit is contained in:
@@ -176,6 +176,7 @@ end
|
||||
|
||||
-- public functions
|
||||
function CharacterList.init()
|
||||
if USE_NEW_ENERGAME then return end
|
||||
connect(g_game, { onLoginError = onGameLoginError })
|
||||
connect(g_game, { onLoginToken = onGameLoginToken })
|
||||
connect(g_game, { onUpdateNeeded = onGameUpdateNeeded })
|
||||
@@ -191,6 +192,7 @@ function CharacterList.init()
|
||||
end
|
||||
|
||||
function CharacterList.terminate()
|
||||
if USE_NEW_ENERGAME then return end
|
||||
disconnect(g_game, { onLoginError = onGameLoginError })
|
||||
disconnect(g_game, { onLoginToken = onGameLoginToken })
|
||||
disconnect(g_game, { onUpdateNeeded = onGameUpdateNeeded })
|
||||
|
Reference in New Issue
Block a user