Add EmptyCondition to Harvester.

This commit is contained in:
Paul Chote
2018-11-17 08:12:33 +00:00
committed by Oliver Brakmann
parent 5f2cc5981d
commit 3be008f592
2 changed files with 27 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ namespace OpenRA.Mods.Common.Activities
return NextActivity;
}
harv.AcceptResource(resource);
harv.AcceptResource(self, resource);
foreach (var t in self.TraitsImplementing<INotifyHarvesterAction>())
t.Harvested(self, resource);