mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-30 22:20:10 +00:00
archive full game on crash (#251)
This commit is contained in:
@@ -319,9 +319,9 @@ export class Transport {
|
||||
);
|
||||
}
|
||||
|
||||
leaveGame() {
|
||||
leaveGame(saveFullGame: boolean = false) {
|
||||
if (this.isLocal) {
|
||||
this.localServer.endGame();
|
||||
this.localServer.endGame(saveFullGame);
|
||||
return;
|
||||
}
|
||||
this.stopPing();
|
||||
|
||||
Reference in New Issue
Block a user