tsm_chests: Fix floating chests; remove extra bloat (#492)
This commit is contained in:
parent
19ce34153b
commit
f0a8327c18
3 changed files with 10 additions and 31 deletions
|
@ -260,12 +260,11 @@ local function place_map(map)
|
|||
ctf_map.place_base(value.color, value.pos)
|
||||
end
|
||||
|
||||
local seed = minetest.get_mapgen_setting("seed")
|
||||
for _, chestzone in pairs(ctf_map.map.chests) do
|
||||
minetest.log("verbose", "Placing " .. chestzone.n .. " chests from " ..
|
||||
minetest.pos_to_string(chestzone.from) .. " to "..
|
||||
minetest.pos_to_string(chestzone.to))
|
||||
place_chests(chestzone.from, chestzone.to, seed, chestzone.n)
|
||||
tsm_chests.place_chests(chestzone.from, chestzone.to, chestzone.n)
|
||||
end
|
||||
|
||||
minetest.after(2, function()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue