fix missing pairs for loop

This commit is contained in:
Jrc13245
2026-01-10 11:17:59 -05:00
parent 1160baedc9
commit 95e58f6d7d
2 changed files with 26 additions and 2 deletions
+1 -1
View File
@@ -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