MapGen: fix patch
This commit is contained in:
@@ -775,9 +775,9 @@ function MapGen:getNoises2dValue(category, layer, x, y, z)
|
||||
|
||||
local triangles = {
|
||||
pastCalc.triangle,
|
||||
pastCalc.triangle.neighbours.t1,
|
||||
pastCalc.triangle.neighbours.t2,
|
||||
pastCalc.triangle.neighbours.t3,
|
||||
pastCalc.triangle.neighbours[1],
|
||||
pastCalc.triangle.neighbours[2],
|
||||
pastCalc.triangle.neighbours[3],
|
||||
}
|
||||
|
||||
---@param t MapGen.Triangle
|
||||
|
||||
@@ -74,7 +74,7 @@ end
|
||||
---@field h2 MapGen.Triangulation.Edge
|
||||
---@field h3 MapGen.Triangulation.Edge
|
||||
---@field neighboursIDs integer[]
|
||||
---@field neighbours MapGen.Triangle.Neighbours
|
||||
---@field neighbours MapGen.Triangle[]
|
||||
---@field color ColorString?
|
||||
local Triangle = {
|
||||
neighbours = {}
|
||||
|
||||
Reference in New Issue
Block a user