mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-20 15:23:56 -07:00
Count rice as veggie.
Reported by @Gurken Khan at the forums: https://wildfiregames.com/forum/topic/82754-alpha-26-pre-releaserelease-candidate-build-testing/?do=findComment&comment=502523. This was SVN commit r26931.
This commit is contained in:
parent
9845a99f77
commit
d81534d792
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ StatisticsTracker.prototype.IncreaseResourceGatheredCounter = function(type, amo
|
|||
{
|
||||
this.resourcesGathered[type] += amount;
|
||||
|
||||
if (type == "food" && (specificType == "fruit" || specificType == "grain"))
|
||||
if (type == "food" && (specificType == "fruit" || specificType == "grain" || specificType == "rice"))
|
||||
this.resourcesGathered.vegetarianFood += amount;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue