MapGen: fix patch

This commit is contained in:
Van
2026-03-09 21:16:53 +03:00
parent 4ef2476771
commit c6573ae308
4 changed files with 10169 additions and 32204 deletions

View File

@@ -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

View File

@@ -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 = {}