From a21e7f5ea44728fd73e6d6f8cb7916ce2f1e8e87 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Sat, 16 May 2020 01:11:01 +0300 Subject: [PATCH] v1.4.15 --- modules/ui/regiments-overview.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/regiments-overview.js b/modules/ui/regiments-overview.js index 0e374fc0..67099d35 100644 --- a/modules/ui/regiments-overview.js +++ b/modules/ui/regiments-overview.js @@ -153,7 +153,7 @@ function overviewRegiments(state) { const military = pack.states[state].military; const i = military.length ? last(military).i + 1 : 0; const n = +(pack.cells.h[cell] < 20); // naval or land - const reg = {a:0, cell, i, n, u:{}, x, y, bx:x, by:y, icon:"🛡️"}; + const reg = {a:0, cell, i, n, u:{}, x, y, bx:x, by:y, state, icon:"🛡️"}; reg.name = Military.getName(reg, military); military.push(reg); Military.generateNote(reg, pack.states[state]); // add legend