1
0
mirror of git://repo.or.cz/minetest_schemedit.git synced 2024-11-13 11:10:16 +01:00

Fix bad formspec escape

This commit is contained in:
Wuzzy 2019-03-22 18:46:57 +01:00
parent 8f7dbdc56f
commit 4d5bde773a

View File

@ -392,7 +392,7 @@ schemedit.add_form("slice", {
local slices = ""
for _, i in pairs(slice_list) do
local insert = F(S("Y = @1; Probability = @2", tostring(i.ypos), tostring(i.prob)))
slices = slices..F(insert)..","
slices = slices..insert..","
end
slices = slices:sub(1, -2) -- Remove final comma