From 425aa4647611428df177363ff6369305123f3d04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Tue, 18 Jun 2013 20:17:18 +0200 Subject: [PATCH] kill the cargo instead of just destroying it fixes #2983 and the player statistics --- OpenRA.Mods.RA/Cargo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.RA/Cargo.cs b/OpenRA.Mods.RA/Cargo.cs index 7a84d21b76..4223a6c57d 100644 --- a/OpenRA.Mods.RA/Cargo.cs +++ b/OpenRA.Mods.RA/Cargo.cs @@ -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(); }