mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-16 19:40:23 +00:00
Record player deaths (#2102)
## Description: Record player death ticks and "conquests" (when a player has < 100 tiles). Tournaments would be easier to manage with those information. Related infra PR: https://github.com/openfrontio/infra/pull/196 Tested locally with docker/infra repo ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced ## Please put your Discord username so you can be contacted if a bug or regression is found: IngloriousTom
This commit is contained in:
@@ -55,6 +55,7 @@ export class PlayerExecution implements Execution {
|
||||
}
|
||||
});
|
||||
this.active = false;
|
||||
this.mg.stats().playerKilled(this.player, ticks);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user