Fix INotifyRepair argument order.
This commit is contained in:
@@ -74,7 +74,7 @@ namespace OpenRA.Mods.Common.Activities
|
||||
self.InflictDamage(self, -hpToRepair, null);
|
||||
|
||||
foreach (var depot in host.TraitsImplementing<INotifyRepair>())
|
||||
depot.Repairing(self, host);
|
||||
depot.Repairing(host, self);
|
||||
|
||||
remainingTicks = repairsUnits.Interval;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user