From 3280d4f84ae3ab4ad829c019ace8d63e52bef5b7 Mon Sep 17 00:00:00 2001 From: The Happy Anarchist Date: Sat, 12 Sep 2020 20:06:19 -1000 Subject: [PATCH] Update combat.js OSE author fix for update push to initiative. --- src/module/combat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module/combat.js b/src/module/combat.js index 7648f2b..ea069e1 100644 --- a/src/module/combat.js +++ b/src/module/combat.js @@ -51,7 +51,7 @@ export class AcksCombat { if (combat.settings.skipDefeated && c.defeated) { value = -790; } - updates.push({ _id: c._id, initiative: "value" }); + updates.push({ _id: c._id, initiative: value }); // Determine the roll mode let rollMode = game.settings.get("core", "rollMode");