Skip to content

Commit

Permalink
Update for 2.14.0-beta.dev.20241202.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Spacetech committed Dec 2, 2024
1 parent 5e9aeaf commit 675d8cf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 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.20241130.1",
"@wayward/types": "^2.14.0-beta.dev.20241201.1",
"rimraf": "3.0.2",
"typescript": "^5.7.2"
}
Expand Down
14 changes: 7 additions & 7 deletions src/AlphaTracks.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
import { Music } from "@wayward/game/audio/IAudio";
import Dictionary from "@wayward/game/language/Dictionary";
import type { Music } from "@wayward/game/audio/IAudio";
import type Dictionary from "@wayward/game/language/Dictionary";
import Translation from "@wayward/game/language/Translation";
import Mod from "@wayward/game/mod/Mod";
import Register from "@wayward/game/mod/ModRegistry";
import Button from "@wayward/game/ui/component/Button";
import { CheckButton } from "@wayward/game/ui/component/CheckButton";
import Component from "@wayward/game/ui/component/Component";
import type Component from "@wayward/game/ui/component/Component";
import Objects from "@wayward/utilities/object/Objects";

enum AlphaTracksTranslation {
OptionsOnlyAlphaTracks,
OptionsPlayTrackPixPlz,
OptionsPlayTrackTheHighlands
OptionsPlayTrackTheHighlands,
}

interface ITracks {
Expand Down Expand Up @@ -39,7 +39,7 @@ export default class AlphaTracks extends Mod {
private get tracks(): ITracks {
return {
PixPlz: this.musicTrackPixPlz,
TheHighlands: this.musicTrackTheHighlands
TheHighlands: this.musicTrackTheHighlands,
};
}

Expand All @@ -55,8 +55,8 @@ export default class AlphaTracks extends Mod {
* Undo the music handler changes done by this mod
*/
public resetMusicHandler(): void {
audio?.resetMusicHandler();
audio?.playMusic();
void audio?.resetMusicHandler();
void audio?.playMusic();
}

/**
Expand Down

0 comments on commit 675d8cf

Please sign in to comment.