1
0
mirror of https://github.com/pyrollo/display_modpack.git synced 2025-10-16 00:55:36 +02:00
This commit is contained in:
Pierre-Yves Rollo
2025-10-08 21:36:16 +02:00
parent e592b52b18
commit 9bd40bd31f
3 changed files with 51 additions and 40 deletions

View File

@@ -113,7 +113,7 @@ local function show_font_formspec(playername)
)
fs = string.format(
"%simage[0.1,%s;4.5,0.8;%s]button_exit[0,%s;4,1;font_%s;]",
fs, line - 0.9, texture, line - 1, font.name)
fs, line - 0.9, texture:gsub("[\\^]", "\\%0"), line - 1, font.name)
end
minetest.show_formspec(context.playername, modname..':font_list', fs)
end