Restore functionality that was lost because v13.337's CombatantGroup document
This commit is contained in:
parent
00228d3aae
commit
ee325989df
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ Resources:
|
|||
|
||||
export class RipCryptCombat extends Combat {
|
||||
|
||||
get groups() {
|
||||
get customGroups() {
|
||||
let groups = new Map();
|
||||
|
||||
for (const combatant of this.combatants) {
|
||||
|
|
@ -130,7 +130,7 @@ export class RipCryptCombat extends Combat {
|
|||
if (!tokenGroup && currentToken) {
|
||||
currentToken.renderFlags.set({refreshTurnMarker: true});
|
||||
} else {
|
||||
const group = this.groups.get(tokenGroup) ?? [];
|
||||
const group = this.customGroups.get(tokenGroup) ?? [];
|
||||
for (const combatant of group) {
|
||||
combatant.token?._object?.renderFlags.set({ refreshTurnMarker: true });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue