Rename pers_stables to pers_stable as rest of {civ}_stable to simplify check done by Petra
Patch By: Angen Reviewed By: Stan Differential Revision: https://code.wildfiregames.com/D1860 This was SVN commit r22320.
This commit is contained in:
parent
ebfec91057
commit
93139ab417
BIN
binaries/data/mods/public/maps/scenarios/Sandbox - Persians.xml
(Stored with Git LFS)
BIN
binaries/data/mods/public/maps/scenarios/Sandbox - Persians.xml
(Stored with Git LFS)
Binary file not shown.
BIN
binaries/data/mods/public/maps/skirmishes/Egypt (3v3).xml
(Stored with Git LFS)
BIN
binaries/data/mods/public/maps/skirmishes/Egypt (3v3).xml
(Stored with Git LFS)
Binary file not shown.
@ -1924,8 +1924,7 @@ m.HQ.prototype.constructTrainingBuildings = function(gameState, queues)
|
||||
let rangeTemplate = this.canBuild(gameState, "structures/{civ}_range") ? "structures/{civ}_range" : undefined;
|
||||
let numRanges = gameState.getOwnEntitiesByClass("Range", true).length;
|
||||
|
||||
let stableTemplate = this.canBuild(gameState, "structures/{civ}_stables") ? "structures/{civ}_stables" :
|
||||
this.canBuild(gameState, "structures/{civ}_stable") ? "structures/{civ}_stable" : undefined;
|
||||
let stableTemplate = this.canBuild(gameState, "structures/{civ}_stable") ? "structures/{civ}_stable" : undefined;
|
||||
let numStables = gameState.getOwnEntitiesByClass("Stables", true).length;
|
||||
|
||||
if (this.getAccountedPopulation(gameState) > this.Config.Military.popForBarracks1 ||
|
||||
|
@ -2,7 +2,7 @@
|
||||
<Entity parent="template_unit_infantry_ranged_archer">
|
||||
<Builder>
|
||||
<Entities datatype="tokens">
|
||||
structures/pers_stables
|
||||
structures/pers_stable
|
||||
structures/pers_apadana
|
||||
structures/pers_ishtar_gate
|
||||
structures/pers_hall
|
||||
|
@ -2,7 +2,7 @@
|
||||
<Entity parent="template_unit_infantry_ranged_javelinist">
|
||||
<Builder>
|
||||
<Entities datatype="tokens">
|
||||
structures/pers_stables
|
||||
structures/pers_stable
|
||||
structures/pers_apadana
|
||||
structures/pers_ishtar_gate
|
||||
structures/pers_hall
|
||||
|
@ -2,7 +2,7 @@
|
||||
<Entity parent="template_unit_infantry_melee_spearman">
|
||||
<Builder>
|
||||
<Entities datatype="tokens">
|
||||
structures/pers_stables
|
||||
structures/pers_stable
|
||||
structures/pers_apadana
|
||||
structures/pers_ishtar_gate
|
||||
structures/pers_hall
|
||||
|
Loading…
Reference in New Issue
Block a user