1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-26 18:50:38 +01:00

fix local var

This commit is contained in:
crabman77 2016-07-17 18:03:35 +02:00
parent 10a691883c
commit 3d1ea777ae

View File

@ -567,7 +567,7 @@ function default.register_ores()
local threshold = 0.08 local threshold = 0.08
local function register_liquid_ore(oredef) local function register_liquid_ore(oredef)
neworedef = table.copy(oredef) -- Do not modify original table local neworedef = table.copy(oredef) -- Do not modify original table
neworedef.noise_params = noise_fissure -- Fissure noise neworedef.noise_params = noise_fissure -- Fissure noise
neworedef.noise_threshold = threshold neworedef.noise_threshold = threshold
minetest.register_ore(neworedef) minetest.register_ore(neworedef)