Extract StoresResources from Harvester

This commit is contained in:
Gustas
2023-03-22 22:31:05 +02:00
committed by Matthias Mailänder
parent 60a446123b
commit d427072cc9
20 changed files with 277 additions and 100 deletions

View File

@@ -87,7 +87,7 @@ namespace OpenRA.Mods.Common.Activities
if (resource.Type == null || resourceLayer.RemoveResource(resource.Type, self.Location) != 1)
return true;
harv.AcceptResource(self, resource.Type);
harv.AddResource(self, resource.Type);
foreach (var t in notifyHarvestActions)
t.Harvested(self, resource.Type);