diff --git a/src/playermat/Playermat.ttslua b/src/playermat/Playermat.ttslua index c14e4479..87d7dd6c 100644 --- a/src/playermat/Playermat.ttslua +++ b/src/playermat/Playermat.ttslua @@ -582,7 +582,9 @@ function flipTopCardFromDeck() end -- discard a random non-hidden card from hand -function doDiscardOne() +function doDiscardOne(_, clickedByColor) + updateMessageColor(clickedByColor) + local hand = Player[playerColor].getHandObjects() if #hand == 0 then broadcastToColor("Cannot discard from empty hand!", messageColor, "Red")