Merge pull request #230 from argonui/victory-display
Victory Display: bug fix for cards without victory points
This commit is contained in:
commit
39b7b3a245
@ -197,7 +197,7 @@ function getCardVP(obj, notes)
|
|||||||
cardVP = tonumber(notes.locationBack.victory)
|
cardVP = tonumber(notes.locationBack.victory)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if cardVP > 0 then
|
if (cardVP or 0) > 0 then
|
||||||
table.insert(countedVP, obj)
|
table.insert(countedVP, obj)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user