kill the cargo instead of just destroying it

fixes #2983 and the player statistics
This commit is contained in:
Matthias Mailänder
2013-06-18 20:17:18 +02:00
parent b7f1711497
commit 425aa46476

View File

@@ -176,8 +176,8 @@ namespace OpenRA.Mods.RA
public void Killed(Actor self, AttackInfo e)
{
foreach( var c in cargo )
c.Destroy();
foreach (var c in cargo)
c.Kill(e.Attacker);
cargo.Clear();
}