summaryrefslogtreecommitdiff
path: root/server/worldgen.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2023-02-13 13:05:55 +0000
committerubq323 <ubq323@ubq323.website>2023-02-13 13:05:55 +0000
commit7e0a520f8efd748a13c277b3c39514aee07c74d2 (patch)
treeba92438a2c2008103bb5af6acb0e01538fa15dce /server/worldgen.lua
parent0abc0b9b7928cd72b1c92b3af9f30674397013d1 (diff)
change blank and ubqorange tiles from false and true to 0 and 9
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))