Skip to content

Commit

Permalink
In case vueport is not installed (#48)
Browse files Browse the repository at this point in the history
* In case vueport is not installed

* Fix my fix
  • Loading branch information
UranusBytes authored Jun 13, 2022
1 parent 14bdfa3 commit a14ad12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion foundryvtt-devMode.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,6 @@ Hooks.on('ready', () => {
setupApplicationHeaderPrintButton();

// If Vueport is enabled, it needs a little bit to be ready to render a sheet
if ( game.modules.get("vueport").active ) setTimeout(autoOpenDocuments, 1000);
if ( game.modules.get("vueport")?.active ) setTimeout(autoOpenDocuments, 1000);
else autoOpenDocuments();
});

0 comments on commit a14ad12

Please sign in to comment.