Replace ResourceType with strings in interfaces/public methods.
This commit is contained in:
@@ -37,7 +37,7 @@ namespace OpenRA.Mods.Common.Traits.Render
|
||||
wsb = init.Self.TraitsImplementing<WithSpriteBody>().Single(w => w.Info.Name == Info.Body);
|
||||
}
|
||||
|
||||
void INotifyHarvesterAction.Harvested(Actor self, ResourceType resource)
|
||||
void INotifyHarvesterAction.Harvested(Actor self, string resourceType)
|
||||
{
|
||||
var sequence = wsb.NormalizeSequence(self, Info.HarvestSequence);
|
||||
if (wsb.DefaultAnimation.HasSequence(sequence) && wsb.DefaultAnimation.CurrentSequence.Name != sequence)
|
||||
|
||||
Reference in New Issue
Block a user