diff --git a/module/blades-clock-sheet.js b/module/blades-clock-sheet.js index 1389def..0f81bb6 100644 --- a/module/blades-clock-sheet.js +++ b/module/blades-clock-sheet.js @@ -58,7 +58,9 @@ export class BladesClockSheet extends BladesSheet { ) ); }); - await TokenDocument.updateDocuments( data, { parent: game.scenes.current } ) + if(game.scenes.current){ + await TokenDocument.updateDocuments( data, { parent: game.scenes.current } ) + } // Update the Actor return this.object.update(formData);