From 978990689e9331a20ef8eb81ee0640d1c25896b5 Mon Sep 17 00:00:00 2001 From: WBHarry Date: Thu, 7 Aug 2025 23:50:53 +0200 Subject: [PATCH] Made changing spotlight change the round to clear waypoints --- 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); }