remove kill/death count in player/health

This commit is contained in:
Matthias Mailänder
2013-08-10 11:43:15 +02:00
parent 5dcf1c755c
commit bbff99d958
2 changed files with 0 additions and 5 deletions

View File

@@ -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;

View File

@@ -137,9 +137,6 @@ namespace OpenRA.Traits
if (hp == 0)
{
attacker.Owner.Kills++;
self.Owner.Deaths++;
foreach (var nd in self.TraitsImplementing<INotifyKilled>()
.Concat(self.Owner.PlayerActor.TraitsImplementing<INotifyKilled>()))
nd.Killed(self, ai);