mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-18 22:12:43 +00:00
strictNullChecks
This commit is contained in:
@@ -16,7 +16,7 @@ export class GameManager {
|
||||
}
|
||||
|
||||
public game(id: GameID): GameServer | null {
|
||||
return this.games.get(id);
|
||||
return this.games.get(id) ?? null;
|
||||
}
|
||||
|
||||
addClient(client: Client, gameID: GameID, lastTurn: number): boolean {
|
||||
|
||||
Reference in New Issue
Block a user