Merge pull request #11374 from obrakmann/fix-koth-capture-notification

Fix calling OnOwnerChange with wrong player in ProximityCapturable
This commit is contained in:
reaperrr
2016-06-04 13:47:51 +02:00

View File

@@ -183,7 +183,7 @@ namespace OpenRA.Mods.Common.Traits
w.Add(new FlashTarget(self));
foreach (var t in self.TraitsImplementing<INotifyCapture>())
t.OnCapture(self, captor, previousOwner, self.Owner);
t.OnCapture(self, captor, previousOwner, captor.Owner);
});
}