Fix Warehoue Rack Schematics
parent
6fbbc8d0cc
commit
2db0460b0f
|
@ -27,8 +27,8 @@ end
|
|||
|
||||
local function place_racks(schematic, x, z, num)
|
||||
for i=0,num-1 do
|
||||
x = x + (4 * i)
|
||||
local index = ikea.mapgen.find_schematic_index(schematic, {x=x, y=0, z=z})
|
||||
local x2 = x + (4 * i)
|
||||
local index = ikea.mapgen.find_schematic_index(schematic, {x=x2, y=0, z=z})
|
||||
schematic.data[index] = rack_node
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue