From bd6c56949d76719f20aadef24b29cf205e7d47f9 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Mon, 18 Nov 2024 16:33:49 +0100 Subject: [PATCH] Changed color to string --- src/playermat/Playermat.ttslua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/playermat/Playermat.ttslua b/src/playermat/Playermat.ttslua index d0ab95b7..271e3de6 100644 --- a/src/playermat/Playermat.ttslua +++ b/src/playermat/Playermat.ttslua @@ -1211,10 +1211,10 @@ function modifySlot(newSlot, cardPosition) if snapPosition == cardPosition then slotData[snapId] = newSlot if Player[playerColor].seated then - printToColor(newSlot .. " slot added to player mat", playerColor, Color.fromString(playerColor)) + printToColor(newSlot .. " slot added to player mat", playerColor, playerColor) else local hostColor = Player.getPlayers()[1].color - printToColor(newSlot .. " slot added to player mat", hostColor, Color.fromString(hostColor)) + printToColor(newSlot .. " slot added to player mat", hostColor, hostColor) end end end