Merge pull request #814 from argonui/colorful-message

Added color to the handColor update message
This commit is contained in:
dscarpac 2024-08-15 04:28:22 -05:00 committed by GitHub
commit 30c2a596be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -973,7 +973,8 @@ function onClick_handColorSelect(player)
if Player[playerColor].seated then
Player[playerColor].changeColor(newColor)
else
printToColor("Updated handcolor for this playermat to " .. newColor .. ".", player.color)
local colorString = "[" .. Color.fromString(newColor):toHex() .. "]" .. newColor .. "[-]"
printToColor("Updated handcolor for this playermat to " .. colorString .. ".", player.color)
end
-- update the internal variable