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)
|
||||
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