Correct how I'm using CONFIG.ui to be inline with how Foundry uses it
This commit is contained in:
parent
7db0036aab
commit
d7661bea14
2 changed files with 4 additions and 3 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import { CryptApp } from "../Apps/CryptApp.mjs";
|
||||
import { Logger } from "../utils/Logger.mjs";
|
||||
|
||||
Hooks.once(`ready`, () => {
|
||||
|
|
@ -19,6 +18,5 @@ Hooks.once(`ready`, () => {
|
|||
if (game.paused) { game.togglePause() };
|
||||
};
|
||||
|
||||
CONFIG.ui.crypt = new CryptApp();
|
||||
CONFIG.ui.crypt.render({ force: true });
|
||||
ui.crypt.render({ force: true });
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue