bug fix for cards without victory points
This commit is contained in:
parent
4863ba585e
commit
daab463cae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user