From 3f9cc3e2bb61fdda1d49425eef9eba91b59c6925 Mon Sep 17 00:00:00 2001 From: Ross Nichols Date: Wed, 16 Dec 2020 06:40:40 -0800 Subject: [PATCH] Add back check in GetPositions --- 4H-Assist/ui.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/4H-Assist/ui.lua b/4H-Assist/ui.lua index cc0c163..1739989 100644 --- a/4H-Assist/ui.lua +++ b/4H-Assist/ui.lua @@ -31,6 +31,8 @@ local lastAlertedMove; local lastAlertedTick; local function GetPositions(role, tick, onlyOriginal) + if role == ABP_4H.Roles.independent then return; end + local rotation = ABP_4H.Rotations[role]; local currentPos, nextPos, nextDifferentPos; if tick == -1 then