kill the cargo instead of just destroying it
fixes #2983 and the player statistics
This commit is contained in:
@@ -176,8 +176,8 @@ namespace OpenRA.Mods.RA
|
|||||||
|
|
||||||
public void Killed(Actor self, AttackInfo e)
|
public void Killed(Actor self, AttackInfo e)
|
||||||
{
|
{
|
||||||
foreach( var c in cargo )
|
foreach (var c in cargo)
|
||||||
c.Destroy();
|
c.Kill(e.Attacker);
|
||||||
cargo.Clear();
|
cargo.Clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user