mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2026-02-05 18:11:23 +01:00
fix: e2e tests
This commit is contained in:
parent
85a9f4b948
commit
6797baf7fe
4 changed files with 22 additions and 24 deletions
|
|
@ -47,7 +47,7 @@ export class LakesModule {
|
|||
}
|
||||
};
|
||||
|
||||
defineClimateData(heights: Uint8Array) {
|
||||
defineClimateData(heights: number[] | Uint8Array) {
|
||||
const {cells, features} = pack;
|
||||
const lakeOutCells = new Uint16Array(cells.i.length);
|
||||
|
||||
|
|
@ -85,7 +85,7 @@ export class LakesModule {
|
|||
};
|
||||
|
||||
// check if lake can be potentially open (not in deep depression)
|
||||
detectCloseLakes(h: Uint8Array) {
|
||||
detectCloseLakes(h: number[] | Uint8Array) {
|
||||
const {cells} = pack;
|
||||
const ELEVATION_LIMIT = +(byId("lakeElevationLimitOutput") as HTMLInputElement)?.value;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue