mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-03 02:28:06 +00:00
Record player stats during the game (#784)
## Description: Record player stats for the analytics worker to import in to to postgres. This changes defines a new Analytics schema version, `v0.0.2`, containing additional metadata about each player. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors
This commit is contained in:
@@ -51,7 +51,7 @@ export class ShellExecution implements Execution {
|
||||
);
|
||||
if (result === true) {
|
||||
this.active = false;
|
||||
this.target.modifyHealth(-this.effectOnTarget());
|
||||
this.target.modifyHealth(-this.effectOnTarget(), this._owner);
|
||||
this.shell.delete(false);
|
||||
return;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user