Check for builders that can't place foundations (e.g. Mauryan worker elephants)
This was SVN commit r12257.
This commit is contained in:
parent
d1d17b7222
commit
c22476eee2
@ -119,7 +119,7 @@ var EntityTemplate = Class({
|
||||
|
||||
|
||||
buildableEntities: function() {
|
||||
if (!this._template.Builder)
|
||||
if (!this._template.Builder || !this._template.Builder.Entities._string)
|
||||
return undefined;
|
||||
var civ = this.civ();
|
||||
var templates = this._template.Builder.Entities._string.replace(/\{civ\}/g, civ).split(/\s+/);
|
||||
|
Loading…
Reference in New Issue
Block a user