forked from 0ad/0ad
Only count civ centres as destroyed if they aren't foundations.
This was SVN commit r12536.
This commit is contained in:
parent
6a7e6ca343
commit
9db71f5417
@ -97,7 +97,7 @@ StatisticsTracker.prototype.KilledEntity = function(targetEntity)
|
|||||||
this.enemyUnitsKilled++;
|
this.enemyUnitsKilled++;
|
||||||
if (targetIsStructure)
|
if (targetIsStructure)
|
||||||
this.enemyBuildingsDestroyed++;
|
this.enemyBuildingsDestroyed++;
|
||||||
if (targetIsCivCentre)
|
if (targetIsCivCentre && targetIsStructure)
|
||||||
this.enemyCivCentresDestroyed++;
|
this.enemyCivCentresDestroyed++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user