bug fix for cards without victory points

This commit is contained in:
Chr1Z93 2023-03-09 00:33:36 +01:00
parent 4863ba585e
commit daab463cae

View File

@ -197,7 +197,7 @@ function getCardVP(obj, notes)
cardVP = tonumber(notes.locationBack.victory)
end
end
if cardVP > 0 then
if (cardVP or 0) > 0 then
table.insert(countedVP, obj)
end
else