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:
Freagarach 2022-06-10 04:53:25 +00:00
parent 9845a99f77
commit d81534d792

View File

@ -367,7 +367,7 @@ StatisticsTracker.prototype.IncreaseResourceGatheredCounter = function(type, amo
{ {
this.resourcesGathered[type] += amount; this.resourcesGathered[type] += amount;
if (type == "food" && (specificType == "fruit" || specificType == "grain")) if (type == "food" && (specificType == "fruit" || specificType == "grain" || specificType == "rice"))
this.resourcesGathered.vegetarianFood += amount; this.resourcesGathered.vegetarianFood += amount;
}; };