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

@@ -68,7 +68,8 @@ namespace OpenRA.Mods.RA
while (!cargo.IsEmpty(self))
{
chronosphere.Owner.Kills++;
cargo.Unload(self);
var a = cargo.Unload(self);
a.Owner.Deaths++;
}
}