added tracking of deaths as well as kills

This commit is contained in:
Chris Forbes
2010-05-02 13:31:56 +12:00
parent 32c73fa72f
commit 94b2055eb2
4 changed files with 7 additions and 3 deletions

View File

@@ -64,6 +64,7 @@ namespace OpenRA.Mods.Aftermath
// Remove from world
self.Health = 0;
detonatedBy.Owner.Kills++;
self.Owner.Deaths++;
w.Remove(self);
} );
}