mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.4.15
This commit is contained in:
parent
2a67ee5d9f
commit
a21e7f5ea4
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ function overviewRegiments(state) {
|
||||||
const military = pack.states[state].military;
|
const military = pack.states[state].military;
|
||||||
const i = military.length ? last(military).i + 1 : 0;
|
const i = military.length ? last(military).i + 1 : 0;
|
||||||
const n = +(pack.cells.h[cell] < 20); // naval or land
|
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);
|
reg.name = Military.getName(reg, military);
|
||||||
military.push(reg);
|
military.push(reg);
|
||||||
Military.generateNote(reg, pack.states[state]); // add legend
|
Military.generateNote(reg, pack.states[state]); // add legend
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue