reset highlighted locations
This commit is contained in:
parent
7d36aaf241
commit
d1d25ce4f3
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user