mirror of
http://repo.or.cz/minetest_pyramids/tsm_pyramids.git
synced 2024-12-22 23:40:18 +01:00
Remove useless call
This commit is contained in:
parent
694d279ff0
commit
7f5e97357e
4
init.lua
4
init.lua
@ -152,7 +152,6 @@ end
|
|||||||
|
|
||||||
local function make_pyramid(pos, brick, sandstone, stone, sand)
|
local function make_pyramid(pos, brick, sandstone, stone, sand)
|
||||||
local set_to_brick = {}
|
local set_to_brick = {}
|
||||||
local set_to_sand = {}
|
|
||||||
local set_to_stone = {}
|
local set_to_stone = {}
|
||||||
-- Build pyramid
|
-- Build pyramid
|
||||||
for iy=0,math.random(10,PYRA_Wh),1 do
|
for iy=0,math.random(10,PYRA_Wh),1 do
|
||||||
@ -167,9 +166,6 @@ local function make_pyramid(pos, brick, sandstone, stone, sand)
|
|||||||
end
|
end
|
||||||
minetest.bulk_set_node(set_to_stone , {name=stone})
|
minetest.bulk_set_node(set_to_stone , {name=stone})
|
||||||
minetest.bulk_set_node(set_to_brick, {name=brick})
|
minetest.bulk_set_node(set_to_brick, {name=brick})
|
||||||
if sand ~= "ignore" then
|
|
||||||
minetest.bulk_set_node(set_to_sand, {name=sand})
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
local function make(pos, brick, sandstone, stone, sand, ptype, room_id)
|
local function make(pos, brick, sandstone, stone, sand, ptype, room_id)
|
||||||
|
Loading…
Reference in New Issue
Block a user