Skip to content

Commit

Permalink
reenable a code in chunk.lua in populate
Browse files Browse the repository at this point in the history
  • Loading branch information
quentin452 committed Feb 26, 2024
1 parent f57c048 commit 142c55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/world/chunk.lua
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function NewChunk(x, z)
if love.math.random() < love.math.noise(xx / 64, zz / 64) * 0.02 then
-- put a tree here
GenerateTree(self, i, height, j)
-- self:setVoxelRaw(i, height, j, __DIRT_Block, 15)
self:setVoxelRaw(i, height, j, __DIRT_Block, 15)
elseif love.math.noise(xx / 32, zz / 32) > 0.9 and love.math.random() < 0.2 then
-- put a random flower here
local flowerID = love.math.random(__YELLO_FLOWER_Block, __ROSE_FLOWER_Block)
Expand Down

0 comments on commit 142c55c

Please sign in to comment.