This commit is contained in:
CDeenen
2021-02-02 05:32:08 +01:00
parent cc5dc9ab63
commit f0c1b0e1e0
56 changed files with 478 additions and 12 deletions

View File

@@ -374,6 +374,11 @@ Hooks.on('closeJournalSheet',()=>{
otherControls.updateAll();
});
Hooks.on('gmScreenOpenClose',(html,isOpen)=>{
if (enableModule == false || ready == false) return;
externalModules.updateAll({gmScreen:isOpen});
});
Hooks.once('init', ()=>{
//CONFIG.debug.hooks = true;
registerSettings(); //in ./src/settings.js