aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklp <nik@niklp.net>2024-04-12 12:19:07 +0200
committerGitHub <noreply@github.com>2024-04-12 12:19:07 +0200
commit2878a1b45a334f08b4bbe2326bc3b4f83a77a076 (patch)
treeca96da319a56a4231d8a468adf3653cf1cda67c7
parent4dc2bb661cc7e8d3a804b3200e4d35185ae0d9f0 (diff)
downloaddisplay_modpack_no_craft-2878a1b45a334f08b4bbe2326bc3b4f83a77a076.tar.gz
display_modpack_no_craft-2878a1b45a334f08b4bbe2326bc3b4f83a77a076.zip
Fix visible color escape sequences when selecting text of posters (#16)
-rw-r--r--signs/nodes.lua3
1 files changed, 1 insertions, 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"))