Make the Delve Tour app optional (because I got annoyed with it popping up in the middle of the window)
This commit is contained in:
parent
f90ab0443f
commit
46a235b603
3 changed files with 16 additions and 1 deletions
|
|
@ -18,5 +18,7 @@ Hooks.once(`ready`, () => {
|
|||
if (game.paused) { game.togglePause() };
|
||||
};
|
||||
|
||||
ui.crypt.render({ force: true });
|
||||
if (game.settings.get(`ripcrypt`, `showDelveTour`)) {
|
||||
ui.crypt.render({ force: true });
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue