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