Made changing spotlight change the round to clear waypoints (#706)

This commit is contained in:
WBHarry 2025-08-07 23:56:11 +02:00 committed by GitHub
parent 312b4f0d25
commit 0c0d419be1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);
}