Fix INotifyRepair argument order.

This commit is contained in:
Paul Chote
2016-07-09 11:12:56 +01:00
parent 7325f0e733
commit b0c9d49d14
3 changed files with 4 additions and 4 deletions

View File

@@ -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;
}