mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-03 12:40:47 +00:00
Add domain, subdomain to GameRecord (#1370)
## Description: Add domain, subdomain to GameRecord. ## 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 - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors Co-authored-by: evanpelle <evanpelle@gmail.com>
This commit is contained in:
@@ -119,7 +119,7 @@ export function joinLobby(
|
||||
};
|
||||
}
|
||||
|
||||
export async function createClientGame(
|
||||
async function createClientGame(
|
||||
lobbyConfig: LobbyConfig,
|
||||
eventBus: EventBus,
|
||||
transport: Transport,
|
||||
@@ -224,6 +224,7 @@ export class ClientGameRunner {
|
||||
startTime(),
|
||||
Date.now(),
|
||||
update.winner,
|
||||
this.lobby.serverConfig,
|
||||
);
|
||||
endGame(record);
|
||||
}
|
||||
|
||||
@@ -199,6 +199,7 @@ export class LocalServer {
|
||||
this.startedAt,
|
||||
Date.now(),
|
||||
this.winner?.winner,
|
||||
this.lobbyConfig.serverConfig,
|
||||
);
|
||||
if (!saveFullGame) {
|
||||
// Clear turns because beacon only supports up to 64kb
|
||||
|
||||
Reference in New Issue
Block a user