Fix: fenêtre jets V2 hors combat

la fenêtre ne marchait pas hors d'un combat
This commit is contained in:
2025-10-29 01:56:43 +01:00
parent 020ff4b014
commit f83fdb3b8f
2 changed files with 7 additions and 2 deletions

View File

@@ -1,4 +1,9 @@
# 13.0 # 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 ## 13.0.15 - Les pièces d'Illysis
- On peut de nouveau acheter dans les commerces - On peut de nouveau acheter dans les commerces

View File

@@ -58,9 +58,9 @@ export class RdDCombatManager extends Combat {
static getCombatant(actorId, tokenId) { 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 it.token.id == tokenId
); )
} }
/* -------------------------------------------- */ /* -------------------------------------------- */
async nextRound() { async nextRound() {