diff --git a/server/src/objects/GameDB.ts b/server/src/objects/GameDB.ts index af1abdc..67b00fb 100644 --- a/server/src/objects/GameDB.ts +++ b/server/src/objects/GameDB.ts @@ -13,7 +13,7 @@ export class GameDB { }; /** Get's the Game object associated with the provided ID */ - public get(id: string): Game { + public get(id: string): Game|undefined { return this.games[id]; };