Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
theripper93 committed Apr 13, 2022
1 parent b1ba524 commit 7d7205b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/patches.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 7d7205b

Please sign in to comment.