Merge pull request #998 from argonui/color-string
Changed color to string
This commit is contained in:
commit
a9d81429f3
@ -1211,10 +1211,10 @@ function modifySlot(newSlot, cardPosition)
|
|||||||
if snapPosition == cardPosition then
|
if snapPosition == cardPosition then
|
||||||
slotData[snapId] = newSlot
|
slotData[snapId] = newSlot
|
||||||
if Player[playerColor].seated then
|
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
|
else
|
||||||
local hostColor = Player.getPlayers()[1].color
|
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
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user