clearing playarea "missingData" table when highlighting
This commit is contained in:
parent
94deae2848
commit
33750606d0
@ -602,13 +602,15 @@ end
|
||||
-- highlights all locations in the play area without metadata
|
||||
---@param state Boolean True if highlighting should be enabled
|
||||
function highlightMissingData(state)
|
||||
for _, obj in pairs(missingData) do
|
||||
for i, obj in pairs(missingData) do
|
||||
if obj ~= nil then
|
||||
if state then
|
||||
obj.highlightOff("Red")
|
||||
else
|
||||
obj.highlightOn("Red")
|
||||
end
|
||||
else
|
||||
missingData[i] = nil
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user