Fix: fenêtre jets V2 hors combat
la fenêtre ne marchait pas hors d'un combat
This commit is contained in:
@@ -58,9 +58,9 @@ export class RdDCombatManager extends Combat {
|
||||
|
||||
|
||||
static getCombatant(actorId, tokenId) {
|
||||
return game.combat.combatants.find(it => it.actor.id == actorId &&
|
||||
return game.combat?.combatants.find(it => it.actor.id == actorId &&
|
||||
it.token.id == tokenId
|
||||
);
|
||||
)
|
||||
}
|
||||
/* -------------------------------------------- */
|
||||
async nextRound() {
|
||||
|
||||
Reference in New Issue
Block a user