correctly rotates cards when placing them
This commit is contained in:
parent
bf2352f79b
commit
ac5788ef75
@ -270,7 +270,9 @@ function placeCard(card)
|
||||
local name = card.getName() or "Unnamed card"
|
||||
for i = 1, 10 do
|
||||
if fullSlots[i] ~= true then
|
||||
local rot = { 0, 270, card.getRotation().z }
|
||||
card.setPositionSmooth(positions[i], false, true)
|
||||
card.setRotation(rot)
|
||||
broadcastToAll("Victory Display: " .. name .. " placed into slot " .. i .. ".", "Green")
|
||||
return
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user