From 0c0d419be17160dc5942e14b322f4529bf5c455f Mon Sep 17 00:00:00 2001 From: WBHarry <89362246+WBHarry@users.noreply.github.com> Date: Thu, 7 Aug 2025 23:56:11 +0200 Subject: [PATCH] Made changing spotlight change the round to clear waypoints (#706) --- module/applications/ui/combatTracker.mjs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module/applications/ui/combatTracker.mjs b/module/applications/ui/combatTracker.mjs index b3348fe2..d3d8eb66 100644 --- a/module/applications/ui/combatTracker.mjs +++ b/module/applications/ui/combatTracker.mjs @@ -88,7 +88,10 @@ export default class DhCombatTracker extends foundry.applications.sidebar.tabs.C } } - await this.viewed.update({ turn: this.viewed.turn === toggleTurn ? null : toggleTurn }); + await this.viewed.update({ + turn: this.viewed.turn === toggleTurn ? null : toggleTurn, + round: this.viewed.round + 1 + }); await combatant.update(update); }