mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 18:43:39 +00: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:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user