diff --git a/src/client/PublicLobby.ts b/src/client/PublicLobby.ts
index a699a84ea..f38410357 100644
--- a/src/client/PublicLobby.ts
+++ b/src/client/PublicLobby.ts
@@ -128,8 +128,8 @@ export class PublicLobby extends LitElement {
)}
- ${lobby.gameConfig.gameMode == GameMode.Team
- ? translateText("public_lobby.teams", { num: teamCount })
+ ${lobby.gameConfig.gameMode === GameMode.Team
+ ? translateText("public_lobby.teams", { num: teamCount ?? 0 })
: translateText("game_mode.ffa")}