diff --git a/resources/lang/en.json b/resources/lang/en.json index 04d55553f..b827a0027 100644 --- a/resources/lang/en.json +++ b/resources/lang/en.json @@ -185,7 +185,8 @@ "exit_confirmation": "Are you sure you want to exit the game?", "bomb_direction": "Atom / Hydrogen bomb arc direction", "icon_alt_player_leaderboard": "Player Leaderboard Icon", - "icon_alt_team_leaderboard": "Team Leaderboard Icon" + "icon_alt_team_leaderboard": "Team Leaderboard Icon", + "game_id_tooltip": "Game ID" }, "single_modal": { "random_spawn": "Random spawn", diff --git a/src/client/graphics/layers/GameLeftSidebar.ts b/src/client/graphics/layers/GameLeftSidebar.ts index 79b7bf76e..a50303ab7 100644 --- a/src/client/graphics/layers/GameLeftSidebar.ts +++ b/src/client/graphics/layers/GameLeftSidebar.ts @@ -133,6 +133,13 @@ export class GameLeftSidebar extends LitElement implements Layer { height="20" /> + ${this.isLeaderboardShow || this.isTeamLeaderboardShow + ? html`${this.game?.gameID() ?? ""}` + : null} ${this.isTeamGame ? html`