Skip to content

Commit

Permalink
Bump min THT version to 0.3.3 for LOS checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Eranziel committed Jul 30, 2024
1 parent 21853c3 commit 254b441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module/helpers/acc_diff/Form.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
function drawLos(target: Token) {
const thtModule = game.modules.get("terrain-height-tools");
// @ts-expect-error v10 types
if (!thtModule?.active || foundry.utils.isNewerVersion("0.3.0", thtModule.version)) return;
if (!thtModule?.active || foundry.utils.isNewerVersion("0.3.3", thtModule.version)) return;
const tokens = lancerActor?.getActiveTokens(true) ?? lancerItem?.actor?.getActiveTokens(true);
const attacker = tokens?.shift();
if (!attacker || attacker === target) return;
Expand Down

0 comments on commit 254b441

Please sign in to comment.