mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 23:26:51 +01:00
Pt translations, some helper functions
This commit is contained in:
@@ -88,6 +88,8 @@ function setOptions()
|
||||
end
|
||||
|
||||
function init()
|
||||
if g_game.getProtocolVersion() < 870 then return end
|
||||
|
||||
connect(g_game, { onGameStart = setOptions,
|
||||
onGameEnd = resetWindow })
|
||||
|
||||
@@ -160,6 +162,8 @@ function init()
|
||||
end
|
||||
|
||||
function terminate()
|
||||
if g_game.getProtocolVersion() < 870 then return end
|
||||
|
||||
disconnect(g_game, { onGameStart = setOptions,
|
||||
onGameEnd = resetWindow,
|
||||
onSpellGroupCooldown = modules.game_interface.setGroupCooldown,
|
||||
|
||||
Reference in New Issue
Block a user