diff --git a/changelog.md b/changelog.md index e5227399..9ce9c930 100644 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/module/rdd-combat.js b/module/rdd-combat.js index 676f6a13..709b4846 100644 --- a/module/rdd-combat.js +++ b/module/rdd-combat.js @@ -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() {