Remove useless call

This commit is contained in:
Wuzzy 2019-08-24 22:53:11 +02:00
parent 694d279ff0
commit 7f5e97357e

View File

@ -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)