From 1c8ba69a06d0d222180f570383276e5361a1a072 Mon Sep 17 00:00:00 2001 From: Durtur Date: Thu, 22 Dec 2022 23:57:42 +0000 Subject: [PATCH] bugfix --- app/mappingTool/tokenDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/mappingTool/tokenDialog.js b/app/mappingTool/tokenDialog.js index 07f273f..d5ac19b 100644 --- a/app/mappingTool/tokenDialog.js +++ b/app/mappingTool/tokenDialog.js @@ -262,7 +262,7 @@ class TokenDialog { size: pawnSize, color: color, bgPhoto: this.addPawnImagePaths, - tokenImages: this.addPawnImagePaths, + tokenImages: this.addPawnImagePaths?.length > 0 ? this.addPawnImagePaths : [DEFAULT_TOKEN_PATH_JS_RELATIVE], tokenIndex: this.selectedTokenImageIndex, deg: previewPlacementManager.getAngle(), spawnPoint: e