Skip to content

Commit 37bbb46

Browse files
authored
Merge pull request #279 from m33shoq/master
fix special sorting for targets so DEFAULT is always last
2 parents ed69bdb + ec6f8b5 commit 37bbb46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Clicked/Core/BindingProcessor.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -383,9 +383,9 @@ local function SortActions(actions, indexMap)
383383
-- 3. Any actions that do not meet any of the criteria in this list will be placed here
384384

385385
-- 4. The player, cursor, and default targets will always come last
386-
{ left = left.unit, right = right.unit, value = Addon.TargetUnit.PLAYER, comparison = "neq" },
386+
{ left = left.unit, right = right.unit, value = Addon.TargetUnit.DEFAULT, comparison = "neq" },
387387
{ left = left.unit, right = right.unit, value = Addon.TargetUnit.CURSOR, comparison = "neq" },
388-
{ left = left.unit, right = right.unit, value = Addon.TargetUnit.DEFAULT, comparison = "neq" }
388+
{ left = left.unit, right = right.unit, value = Addon.TargetUnit.PLAYER, comparison = "neq" },
389389
}
390390

391391
for _, item in ipairs(priority) do

0 commit comments

Comments
 (0)