From 056d443fd25e32f59bd62666e23ef020ffcecbad Mon Sep 17 00:00:00 2001 From: marvin9257 <72580196+marvin9257@users.noreply.github.com> Date: Fri, 24 Jan 2025 10:09:40 -0600 Subject: [PATCH] fix: deepscan issue --- src/module/sheets/TwodsixShipSheet.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/module/sheets/TwodsixShipSheet.ts b/src/module/sheets/TwodsixShipSheet.ts index 5f642ec26..1a9c1337e 100644 --- a/src/module/sheets/TwodsixShipSheet.ts +++ b/src/module/sheets/TwodsixShipSheet.ts @@ -275,8 +275,8 @@ export class TwodsixShipSheet extends foundry.applications.api.HandlebarsApplica ev.dataTransfer.setData("text/plain", JSON.stringify({ "type": "Actor", "data": actor, //Not Certain if this should be system instead - "actorId": actor.id, //Why did this refer to ship actor previously? - "id": actor.id, //Necesssary? + "actorId": actor?.id, //Why did this refer to ship actor previously? + "id": actor?.id, //Necesssary? "uuid": actor?.uuid })); } else if (ev.target?.classList.contains("ship-position-action")) {