From bbff99d95888c64c24d47429c14a935145d1499c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 10 Aug 2013 11:43:15 +0200 Subject: [PATCH] remove kill/death count in player/health --- OpenRA.Game/Player.cs | 2 -- OpenRA.Game/Traits/Health.cs | 3 --- 2 files changed, 5 deletions(-) diff --git a/OpenRA.Game/Player.cs b/OpenRA.Game/Player.cs index 7e36e2ca15..5d9648dd8a 100644 --- a/OpenRA.Game/Player.cs +++ b/OpenRA.Game/Player.cs @@ -22,8 +22,6 @@ namespace OpenRA public class Player { public Actor PlayerActor; - public int Kills; - public int Deaths; public WinState WinState = WinState.Undefined; public readonly HSLColor Color; diff --git a/OpenRA.Game/Traits/Health.cs b/OpenRA.Game/Traits/Health.cs index fc91a75023..b82d29e5de 100755 --- a/OpenRA.Game/Traits/Health.cs +++ b/OpenRA.Game/Traits/Health.cs @@ -137,9 +137,6 @@ namespace OpenRA.Traits if (hp == 0) { - attacker.Owner.Kills++; - self.Owner.Deaths++; - foreach (var nd in self.TraitsImplementing() .Concat(self.Owner.PlayerActor.TraitsImplementing())) nd.Killed(self, ai);