Skip to content

Commit

Permalink
Fixed not gettin setting
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ committed May 28, 2024
1 parent abab83b commit 897c92e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/helpers/animation/turnTokenOnAttack.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export function turnTokenOnAttack(token, target) {
const angle = token.angle;
const rotationOffset = token.document.flags?.["pf2e-rpg-numbers"]?.rotationOffset ?? 0;
const tokWxH = (token.document.height + token.document.width)/2;
const baseTurnTime = getSetting("")
const scaleTurnTime = getSetting("");
const baseTurnTime = getSetting("rotate-on-attack.duration")
const scaleTurnTime = getSetting("rotate-on-attack.scale-on-size");
const turnTime = scaleTurnTime ? baseTurnTime * tokWxH : baseTurnTime;

new Sequence()
Expand Down

0 comments on commit 897c92e

Please sign in to comment.