mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 01:41:22 +01:00
v1.3.05a
This commit is contained in:
parent
d1c795494d
commit
99acc1e2bd
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@
|
||||||
let army = m * perc; // basic army for rural cell
|
let army = m * perc; // basic army for rural cell
|
||||||
|
|
||||||
if (u.type === "naval") {
|
if (u.type === "naval") {
|
||||||
if (!b.port) continue; // only ports have naval units
|
if (!b.port || b.port < 1) continue; // only ports have naval units
|
||||||
army *= normalizeNaval(pack.features[b.port].ports);
|
army *= normalizeNaval(pack.features[b.port].ports);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue