mirror of
git://repo.or.cz/minetest_schemedit.git
synced 2025-01-08 17:10:32 +01:00
Fix exporting the wrong Y values for Y slices
This commit is contained in:
parent
100f3c65c5
commit
b221493219
2
init.lua
2
init.lua
@ -420,7 +420,7 @@ schemedit.add_form("main", {
|
|||||||
local slice_list = {}
|
local slice_list = {}
|
||||||
for _, i in pairs(slist) do
|
for _, i in pairs(slist) do
|
||||||
slice_list[#slice_list + 1] = {
|
slice_list[#slice_list + 1] = {
|
||||||
ypos = pos.y + i.ypos,
|
ypos = i.ypos,
|
||||||
prob = schemedit.lua_prob_to_schematic_prob(i.prob),
|
prob = schemedit.lua_prob_to_schematic_prob(i.prob),
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user