From fc50a46728371a05605dcd88cbef28cf42b4c8e1 Mon Sep 17 00:00:00 2001 From: Leonetienne Date: Sat, 18 Sep 2021 16:35:24 +0200 Subject: [PATCH] fixed bug that caused the leveling stat to lag behind --- main.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.lua b/main.lua index 7efa93a..7dd1120 100644 --- a/main.lua +++ b/main.lua @@ -379,6 +379,9 @@ hooksecurefunc( "JumpOrAscendStart", function() Trackster_jumpCounter = Trackster_jumpCounter + 1; UpdateJump(); end + + -- Just to keep it up-to-date. The event gets fired too early... + UpdatePlvl(); end ); Trackster.OffsetDistance = function(offset)