Skip to content

Commit

Permalink
Fixed a deprecation warning on the quench check
Browse files Browse the repository at this point in the history
  • Loading branch information
lupestro committed Sep 19, 2022
1 parent f17be56 commit 60a46bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torch.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Hooks.on("ready", () => {

Hooks.once("init", () => {
// Only load and initialize test suite if we're in a test environment
if (game.world.data.name.startsWith("torch-test-")) {
if (game.world.id.startsWith("torch-test-")) {
Torch.setupQuenchTesting();
}
Settings.register();
Expand Down

0 comments on commit 60a46bb

Please sign in to comment.