fix private games not archiving because they haven't prestarted

This commit is contained in:
evan
2025-04-23 12:30:33 -07:00
parent 84287b8dfa
commit 13e2a02b2d
+1 -1
View File
@@ -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;
}