Merge pull request #273 from argonui/discard-bugfix
Playermat: variable name corrected
This commit is contained in:
commit
2dbb45e2e7
@ -436,7 +436,7 @@ function doDiscardOne()
|
|||||||
-- get a random non-hidden card (from the "choices" table)
|
-- get a random non-hidden card (from the "choices" table)
|
||||||
local num = math.random(1, #choices)
|
local num = math.random(1, #choices)
|
||||||
hand[choices[num]].setPosition(returnGlobalDiscardPosition())
|
hand[choices[num]].setPosition(returnGlobalDiscardPosition())
|
||||||
broadcastToAll(handColor .. " randomly discarded card " .. choices[num] .. "/" .. #hand .. ".", "White")
|
broadcastToAll(playerColor .. " randomly discarded card " .. choices[num] .. "/" .. #hand .. ".", "White")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user