From 6cd04cb5ae280c873dcd246fc6d9cde2ffa7b50c Mon Sep 17 00:00:00 2001 From: Niklp Date: Sun, 7 Apr 2024 17:52:21 +0200 Subject: [PATCH] Fix visible color escape sequences when selecting text of posters --- signs/nodes.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/signs/nodes.lua b/signs/nodes.lua index 0280ccd..bed4b35 100644 --- a/signs/nodes.lua +++ b/signs/nodes.lua @@ -43,8 +43,7 @@ local function display_poster(pos, node, player) style_type[textarea;textcolor=#111] textarea[0.3,1.5;7,8;;%s;]]=], titletexture, - minetest.colorize("#111", - minetest.formspec_escape(meta:get_string("text")))) + minetest.formspec_escape(meta:get_string("text"))) if minetest.is_protected(pos, player:get_player_name()) then fs = string.format("%sbutton_exit[2.5,8;2,1;ok;%s]", fs, FS("Close"))