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:
parent
8f7dbdc56f
commit
4d5bde773a
2
init.lua
2
init.lua
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user