mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-26 09:24:36 +00:00
fix private games not archiving because they haven't prestarted
This commit is contained in:
@@ -356,7 +356,7 @@ export class GameServer {
|
||||
client.ws.close(1000, "game has ended");
|
||||
}
|
||||
});
|
||||
if (!this._hasPrestarted || !this._hasStarted) {
|
||||
if (!this._hasPrestarted && !this._hasStarted) {
|
||||
this.log.info(`game not started, not archiving game`);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user