Rename ResourceType trait fields for consistency.

This commit is contained in:
Paul Chote
2016-09-25 13:36:06 +01:00
parent fdc6ea4564
commit 365bd5b9bd
14 changed files with 78 additions and 45 deletions

View File

@@ -127,7 +127,7 @@ namespace OpenRA.Mods.Common
return false;
// Can the harvester collect this kind of resource?
if (!harvInfo.Resources.Contains(resType.Info.Name))
if (!harvInfo.Resources.Contains(resType.Info.Type))
return false;
if (territory != null)