Skip to content

Commit db31129

Browse files
committed
Fixed holo-flow.lua not clearing.
1 parent 956f770 commit db31129

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

holo-flow.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ while true do
1414
i = i + 0.05
1515
for x = 1, 16 * 3 do
1616
for z = 1, 16 * 3 do
17-
holo.fill(x, z, 15 + noise.fbm(x/(16*3) + i, 1, z/(16*3) + i) * 28,1)
17+
local yMax = 15 + noise.fbm(x/(16*3) + i, 1, z/(16*3) + i) * 28
18+
holo.fill(x, z, yMax, 1)
19+
holo.fill(x, z, yMax + 1, 32, 0)
1820
if keyboard.isKeyDown(keyboard.keys.w) and keyboard.isControlDown() then
1921
os.exit()
2022
end

0 commit comments

Comments
 (0)