diff --git a/src/combat.mjs b/src/combat.mjs index 57f1b83..0295911 100644 --- a/src/combat.mjs +++ b/src/combat.mjs @@ -69,9 +69,9 @@ function get_effects_in_markdown(actor, token) { } function parse_turn(combat, updateData) { - const c = Object.assign({}, combat, updateData) + const c = Object.assign(combat, updateData) const turn = c.turns[c.turn] - const actor = Object.assign( + const actor = Object.assign({}, game.actors.find((a) => a.id === turn.actorId), combat.combatants.find((cb) => cb.tokenId === turn.tokenId), )