Arrays still start at 1...
This commit is contained in:
parent
a6a0d9f932
commit
343e393780
@ -48,7 +48,7 @@ local function calculate_tree_position(row_index, tree_index)
|
|||||||
local x = (row_index - 1) * 5
|
local x = (row_index - 1) * 5
|
||||||
local z
|
local z
|
||||||
|
|
||||||
if row_index % 2 == 0 then
|
if row_index % 2 == 1 then
|
||||||
z = -2 * tree_index
|
z = -2 * tree_index
|
||||||
else
|
else
|
||||||
z = -30 + 2 * tree_index
|
z = -30 + 2 * tree_index
|
||||||
|
Loading…
Reference in New Issue
Block a user