Merge pull request #197 from argonui/shortsupply-bugfix

Short Supply: Bugfix
This commit is contained in:
Buhallin 2023-01-22 01:10:55 -08:00 committed by GitHub
commit 8744f85dfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,9 +28,7 @@ function shortSupply(color)
-- discard cards
broadcastToColor("Discarding top 10 cards for player color '" .. matColor .. "'.", color, "White")
discardPos.y = 0.5
for i = 1, 10 do
discardPos.y = discardPos.y + 0.05 * i
drawDeck.takeObject({ flip = true, position = discardPos })
drawDeck.takeObject({ flip = true, position = { discardPos.x, 2 + 0.075 * i, discardPos.z } })
end
end