Skip to content

Commit

Permalink
Add back check in GetPositions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ross Nichols committed Dec 16, 2020
1 parent abd4e14 commit 3f9cc3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 4H-Assist/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f9cc3e

Please sign in to comment.