From 3b35ddaf77612e38586de4235f0901f4e3c7cee7 Mon Sep 17 00:00:00 2001 From: Chr1Z93 Date: Thu, 15 Aug 2024 00:16:29 +0200 Subject: [PATCH] Added color to the handColor update message --- src/playermat/Playermat.ttslua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/playermat/Playermat.ttslua b/src/playermat/Playermat.ttslua index 94f8cf60..c14e4479 100644 --- a/src/playermat/Playermat.ttslua +++ b/src/playermat/Playermat.ttslua @@ -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