mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-07-04 05:55:47 -07:00
fix the AI for the switch to the Repairable component
This was SVN commit r17678.
This commit is contained in:
parent
dd545bdbf1
commit
87886b7b03
1 changed files with 1 additions and 3 deletions
|
|
@ -186,9 +186,7 @@ m.Template = m.Class({
|
|||
|
||||
isRepairable: function()
|
||||
{
|
||||
if (this.get("Health") !== undefined)
|
||||
return this.get("Health/Repairable") === "true";
|
||||
return false;
|
||||
return this.get("Repairable") !== undefined;
|
||||
},
|
||||
|
||||
getPopulationBonus: function() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue