reset highlighted locations

This commit is contained in:
Chr1Z93 2023-10-20 00:01:46 +02:00
parent 7d36aaf241
commit d1d25ce4f3
2 changed files with 2 additions and 2 deletions

View File

@ -581,6 +581,7 @@ end
-- count victory points on locations in play area -- count victory points on locations in play area
---@return. Returns the total amount of VP found in the play area ---@return. Returns the total amount of VP found in the play area
function countVP() function countVP()
countedVP = {}
local totalVP = 0 local totalVP = 0
for cardId, metadata in pairs(locations) do for cardId, metadata in pairs(locations) do

View File

@ -212,8 +212,7 @@ end
function highlightMissingData() function highlightMissingData()
self.editButton({ self.editButton({
index = 3, index = 3,
tooltip = (highlightMissing and "Enable" or "Disable") .. tooltip = (highlightMissing and "Enable" or "Disable") .. " highlighting of cards without metadata (VP on these is not counted)."
" highlighting of cards without metadata (VP on these is not counted)."
}) })
for _, obj in pairs(missingData) do for _, obj in pairs(missingData) do
if obj ~= nil then if obj ~= nil then