Skip to content

Commit

Permalink
v10
Browse files Browse the repository at this point in the history
  • Loading branch information
theripper93 committed Jul 16, 2022
1 parent 57dfca8 commit 0e1dd13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/wall-height.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ Hooks.on("renderTokenConfig", (app, html, data) => {
const tokenHeight = app.token.getFlag(MODULE_SCOPE, "tokenHeight") || 0;
const label = game.i18n.localize(`${MODULE_SCOPE}.tokenHeightLabel`);
const losHeight = app.object?.object?.losHeight ?? 0;
const height = losHeight - app.token.document.elevation;
const height = losHeight - app.token.elevation;
const hint = game.i18n.localize(`${MODULE_SCOPE}.tokenHeightHint`).replace("{{height}}", height).replace("{{losHeight}}", losHeight);
const distance = (app.object.parent?.document.gridUnits ?? game.system.document.gridUnits) || game.i18n.localize(`${MODULE_SCOPE}.distance`);
let newHtml = `
Expand Down

0 comments on commit 0e1dd13

Please sign in to comment.