Correct how I'm using CONFIG.ui to be inline with how Foundry uses it

This commit is contained in:
Oliver-Akins 2025-02-08 17:44:59 -07:00
parent 7db0036aab
commit d7661bea14
2 changed files with 4 additions and 3 deletions

View file

@ -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 });
});