Changed color to string
This commit is contained in:
parent
7bc0856135
commit
bd6c56949d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user