Ticket #2460: headquarters.js.patch
File headquarters.js.patch, 652 bytes (added by , 10 years ago) |
---|
-
binaries/data/mods/public/simulation/ai/aegis/headquarters.js
287 287 288 288 // default template and size 289 289 var template = gameState.applyCiv("units/{civ}_support_female_citizen"); 290 var size = Math.min(5, Math. ceil(numTotal / 10));290 var size = Math.min(5, Math.max(Math.ceil(numTotal / 10), 1)); 291 291 292 292 // Choose whether we want soldiers instead. 293 293 // TODO: we might want to adjust our female ratio.