From 10a403bec7dd0947284f4e70a196ec26df36f4db Mon Sep 17 00:00:00 2001 From: Beu Date: Mon, 25 Sep 2023 22:04:20 +0200 Subject: [PATCH] fix update when the player count change --- TM_ClimbTheMap.Script.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TM_ClimbTheMap.Script.txt b/TM_ClimbTheMap.Script.txt index 5266975..d5a90b5 100644 --- a/TM_ClimbTheMap.Script.txt +++ b/TM_ClimbTheMap.Script.txt @@ -526,10 +526,10 @@ Void UpdateMarker(CMlFrame _Frame, Int2 _AltitudeOfWaypoints, Integer _Animation Quad_Background.Size.X = Label_PlayerName.ComputeWidth(_Name) + 2.5; } - if (_AnimationDuration <= 0 || ChangeLabel) { + AnimMgr.Flush(_Frame); + if (_AnimationDuration <= 0 || ChangeLabel) { _Frame.RelativePosition_V3.Y = GetPosition(_AltitudeOfWaypoints, _Altitude); } else { - AnimMgr.Flush(_Frame); AnimMgr.Add(_Frame, "", _AnimationDuration, CAnimManager::EAnimManagerEasing::Linear); } }