Skip to content

Commit

Permalink
Update for 2.14.0-beta.dev.20240917.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Spacetech committed Sep 17, 2024
1 parent 3fe4e63 commit 274b050
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"watch": "npx tsc --build --watch --pretty --preserveWatchOutput"
},
"devDependencies": {
"@wayward/types": "^2.14.0-beta.dev.20240916.1",
"@wayward/types": "^2.14.0-beta.dev.20240917.1",
"rimraf": "3.0.2",
"typescript": "^5.6.2"
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/ITarsOptions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Deity } from "@wayward/game/game/deity/Deity";
import Deity from "@wayward/game/game/deity/Deity";
import { TreasureHunterType } from "../modes/TreasureHunter";
import { TarsMode } from "./ITars";

Expand Down
4 changes: 2 additions & 2 deletions src/core/navigation/Navigation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Tile from "@wayward/game/game/tile/Tile";
import type { IVector3 } from "@wayward/game/utilities/math/IVector";
import Log from "@wayward/utilities/Log";
import WorldZ from "@wayward/utilities/game/WorldZ";
import { sleep } from "@wayward/utilities/promise/Async";
import { yieldTask } from "@wayward/utilities/promise/Async";

import { TarsOverlay } from "../../ui/TarsOverlay";
import { CreatureUtilities } from "../../utilities/CreatureUtilities";
Expand Down Expand Up @@ -120,7 +120,7 @@ export default class Navigation {

// prevent freezing while this is being initialized
if (++count % 10000 === 0) {
await sleep(0);
await yieldTask();
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/core/navigation/NavigationKdTrees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import WorldZ from "@wayward/utilities/game/WorldZ";
import { KdTree } from "@wayward/game/utilities/collection/kdtree/KdTree";
import Enums from "@wayward/game/utilities/enum/Enums";
import { IVector2 } from "@wayward/game/utilities/math/IVector";
import { sleep } from "@wayward/utilities/promise/Async";
import { yieldTask } from "@wayward/utilities/promise/Async";

import { freshWaterTileLocation, anyWaterTileLocation, gatherableTileLocation, ExtendedTerrainType } from "./INavigation";

Expand Down Expand Up @@ -105,7 +105,7 @@ export class NavigationKdTrees {

// prevent freezing while this is being initialized
if (offsetX % 10 === 0) {
await sleep(0);
await yieldTask();
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/objectives/utility/DeitySacrifice.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Deity } from "@wayward/game/game/deity/Deity";
import Deity from "@wayward/game/game/deity/Deity";

import type Context from "../../core/context/Context";
import type { ObjectiveExecutionResult } from "../../core/objective/IObjective";
Expand Down

0 comments on commit 274b050

Please sign in to comment.