Merge pull request #998 from argonui/color-string

Changed color to string
This commit is contained in:
dscarpac 2024-11-18 09:49:24 -06:00 committed by GitHub
commit a9d81429f3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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