Added color to the handColor update message

This commit is contained in:
Chr1Z93 2024-08-15 00:16:29 +02:00
parent 5febee03c5
commit 3b35ddaf77

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