Changed color to string

This commit is contained in:
Chr1Z93 2024-11-18 16:33:49 +01:00
parent 7bc0856135
commit bd6c56949d

View File

@ -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