Skip to content

Commit

Permalink
fixing bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
veevelder committed Aug 17, 2024
1 parent 97d4a81 commit 4c9c3c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/quick-combat.js
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,8 @@ Hooks.on("updateCombat", async (combat) => {
}

//if the user doesn't want to run include the combat markers'
if (!game.setting.get("quick-combat", "combatMarkers")) {
let combatMarkers = game.settings.get("quick-combat", "combatMarkers");
if (!combatMarkers) {
return;
}

Expand Down Expand Up @@ -748,7 +749,7 @@ Hooks.on("updateCombat", async (combat) => {
) {
new Sequence("quick-combat")
.effect()
.file(activeTurnFile)
.file(game.settings.get("quick-combat", "combatMarkers-activeTurn"))
.attachTo(currentToken, { bindVisibility: true, bindAlpha: true })
.scaleToObject(scale)
.belowTokens()
Expand Down

0 comments on commit 4c9c3c2

Please sign in to comment.