summaryrefslogtreecommitdiff
path: root/server/worldgen.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/worldgen.lua')
-rw-r--r--server/worldgen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/worldgen.lua b/server/worldgen.lua
index e4e1a4c..3f318d1 100644
--- a/server/worldgen.lua
+++ b/server/worldgen.lua
@@ -28,7 +28,7 @@ local function gen_chunk(chpos)
local ix = chunk.index(q,r)
local nv = surface_ng:at(p.x,p.y)
if nv <= 0 then
- tiles[ix] = false
+ tiles[ix] = 0
else
local nv2 = color_ng:at(p.x,p.y)
nv2 = math.max(-0.9999999,math.min(0.9999999,nv2*2.5))