mirror of
https://github.com/brues-code/SuperCleveRoidMacros.git
synced 2026-09-16 03:38:00 +00:00
fix missing pairs for loop
This commit is contained in:
+1
-1
@@ -285,7 +285,7 @@ do
|
||||
|
||||
local function getBest()
|
||||
local bestSource, bestUnit, bestP = nil, nil, -1
|
||||
for source, unit in CleveRoids.__mo.sources do
|
||||
for source, unit in pairs(CleveRoids.__mo.sources) do
|
||||
if unit and unit ~= "" then
|
||||
local p = getPriority(source)
|
||||
if p > bestP then
|
||||
|
||||
Reference in New Issue
Block a user