From b9049ea6f0d821bdbb6dcfa46933b1159f1bd872 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 3 Mar 2022 11:41:10 +0100 Subject: Show strength of stack when hovering on supreme commander. --- rules.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.js b/rules.js index 6368d91..d8673d2 100644 --- a/rules.js +++ b/rules.js @@ -202,7 +202,7 @@ const ST_LAWRENCE_CANADIAN_MILITIAS = 144; // Patch up leader/box associations. const box_from_leader = []; const leader_from_box = []; -for (let p = 0; p <= last_french_leader; ++p) +for (let p = 0; p <= last_piece; ++p) box_from_leader[p] = 0; for (let s = first_leader_box; s <= last_leader_box; ++s) { let p = pieces.findIndex(piece => piece.name === spaces[s].name); -- cgit v1.2.3