fixed false highlights

This commit is contained in:
Chr1Z93 2023-10-20 16:14:00 +02:00
parent 4fe98d3f93
commit 0193ebccc2

View File

@ -643,6 +643,7 @@ end
-- highlights all locations in the play area with VP -- highlights all locations in the play area with VP
---@param state Boolean True if highlighting should be enabled ---@param state Boolean True if highlighting should be enabled
function highlightCountedVP(state) function highlightCountedVP(state)
countVP()
for i, obj in pairs(countedVP) do for i, obj in pairs(countedVP) do
if obj ~= nil then if obj ~= nil then
if state then if state then