Fix regression sur tour suivant
This commit is contained in:
parent
d2b612c11c
commit
43274ca6b7
@ -393,9 +393,11 @@ export class RdDCombat {
|
|||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
static combatNouveauTour(combat) {
|
static combatNouveauTour(combat) {
|
||||||
if (Misc.isElectedUser()) {
|
if (Misc.isElectedUser()) {
|
||||||
let turn = combat.turns.find(t => t.tokenId == combat.current.tokenId);
|
let turn = combat.turns.find(t => t.token?.id == combat.current.tokenId);
|
||||||
this.displayActorCombatStatus(combat, turn.actor);
|
if (turn?.actor) {
|
||||||
// TODO Playaudio for player??
|
RdDCombat.displayActorCombatStatus(combat, turn.actor);
|
||||||
|
// TODO Playaudio for player??
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user