Updated to OTCv8 3.1 rev 150

This commit is contained in:
OTCv8
2022-03-15 10:48:00 +00:00
parent af00528e49
commit 1f0939e5ec
8 changed files with 7 additions and 2 deletions

View File

@@ -17,10 +17,11 @@ autoFinishNextServerWalk = 0
turnKeys = {}
function init()
connect(g_game, { onTeleport = onTeleport })
connect(LocalPlayer, {
onPositionChange = onPositionChange,
onWalk = onWalk,
onTeleport = onTeleport,
onWalkFinish = onWalkFinish,
onCancelWalk = onCancelWalk
})
@@ -30,10 +31,11 @@ function init()
end
function terminate()
disconnect(g_game, { onTeleport = onTeleport })
disconnect(LocalPlayer, {
onPositionChange = onPositionChange,
onWalk = onWalk,
onTeleport = onTeleport,
onWalkFinish = onWalkFinish
})
removeEvent(autoWalkEvent)