From 7d7205b88bfb88e308b72f2f1ce5495eed2ba054 Mon Sep 17 00:00:00 2001 From: theripper93 Date: Wed, 13 Apr 2022 20:29:07 +0200 Subject: [PATCH] a --- scripts/patches.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/patches.js b/scripts/patches.js index ce6e918..bc69ed7 100644 --- a/scripts/patches.js +++ b/scripts/patches.js @@ -297,7 +297,7 @@ export function registerWrappers() { if (origin.b == undefined && origin.t == undefined) { const object = config.source?.object; if (object instanceof Token) { - bottom = config.type === "sight" ? object.losHeight : object.data.elevation; + bottom = config.type !== "move" ? object.losHeight : object.data.elevation; top = object.losHeight; } else if (object instanceof AmbientLight || object instanceof AmbientSound) { if (getAdvancedLighting(object.document)) {