Fix: fenêtre jets V2 hors combat
la fenêtre ne marchait pas hors d'un combat
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
# 13.0
|
||||
## 13.0.16 - La paix d'Illysis
|
||||
|
||||
- Fenêtre de jet v2
|
||||
- on peut faire des jets en dehors des combats
|
||||
|
||||
## 13.0.15 - Les pièces d'Illysis
|
||||
|
||||
- On peut de nouveau acheter dans les commerces
|
||||
|
||||
@@ -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