From 8a99036f7c1608dae910d547c6c7d1df37af6fc6 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Thu, 20 Apr 2023 22:52:46 +0200 Subject: [PATCH] variable name corrected --- src/playermat/Playmat.ttslua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/playermat/Playmat.ttslua b/src/playermat/Playmat.ttslua index b1b1d513..2e10672c 100644 --- a/src/playermat/Playmat.ttslua +++ b/src/playermat/Playmat.ttslua @@ -436,7 +436,7 @@ function doDiscardOne() -- get a random non-hidden card (from the "choices" table) local num = math.random(1, #choices) 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