mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 14:42:24 +01:00
Escape texture pack names
This commit is contained in:
parent
857a49e081
commit
fbef701bcd
@ -210,12 +210,12 @@ end
|
||||
function menu.render_texture_pack_list(list)
|
||||
local retval = ""
|
||||
|
||||
for i,v in ipairs(list) do
|
||||
for i, v in ipairs(list) do
|
||||
if retval ~= "" then
|
||||
retval = retval ..","
|
||||
end
|
||||
|
||||
retval = retval .. v
|
||||
retval = retval .. engine.formspec_escape(v)
|
||||
end
|
||||
|
||||
return retval
|
||||
|
Loading…
Reference in New Issue
Block a user