refactor: specify burgs fixes

This commit is contained in:
max 2022-08-07 00:31:59 +03:00
parent 7f57c9af65
commit 8c741a559e
6 changed files with 34 additions and 19 deletions

View file

@ -12,6 +12,7 @@ export function generateBurgsAndStates(
cultures: TCultures,
features: TPackFeatures,
temp: Int8Array,
rivers: Omit<IRiver, "name" | "basin" | "type">[],
vertices: IGraphVertices,
cells: Pick<
IPack["cells"],
@ -55,6 +56,7 @@ export function generateBurgsAndStates(
vertices,
cultures,
states,
rivers,
pick(cells, "v", "p", "g", "h", "f", "haven", "harbor", "s", "biome", "fl", "r")
);