From 02c48f4796018738d68a2ef7bb56c77dab29475f Mon Sep 17 00:00:00 2001 From: Vincent Vandemeulebrouck Date: Thu, 1 Dec 2022 00:28:13 +0100 Subject: [PATCH] Fix initiative --- module/rdd-combat.js | 1 - 1 file changed, 1 deletion(-) diff --git a/module/rdd-combat.js b/module/rdd-combat.js index de7c14fb..74dbfb0e 100644 --- a/module/rdd-combat.js +++ b/module/rdd-combat.js @@ -84,7 +84,6 @@ export class RdDCombatManager extends Combat { console.log(`${game.system.title} | Combat.rollInitiative()`, ids, formula, messageOptions); ids = typeof ids === "string" ? [ids] : ids; - const currentId = this.combatant._id; // calculate initiative for (let cId = 0; cId < ids.length; cId++) { const combatant = this.combatants.get(ids[cId]);