aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/menu/lobby.gd4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/menu/lobby.gd b/client/menu/lobby.gd
index 4c839ab4..5f553729 100644
--- a/client/menu/lobby.gd
+++ b/client/menu/lobby.gd
@@ -33,8 +33,6 @@ var bot_display_names := {
"frank": tr("Frank Miller")
}
-var difficulty_names = [tr("Easy"), tr("Moderate"), tr("Hard"), tr("Very hard"), tr("Unplayable")]
-
@onready var game: Game = $"../Game"
@onready var player_container = $MarginContainer/VBoxContainer/Players
@@ -113,7 +111,7 @@ func select_map(i: int):
var map_data: Dictionary = game.maps[i][1]
map_name_label.text = map_data["name"]
map_player_label.text = tr("%d players recommended") % map_data["players"]
- map_difficulty_label.text = difficulty_names[map_data["difficulty"] - 1]
+ map_difficulty_label.text = tr("c.map.difficulty.%d" % (map_data["difficulty"] - 1))
selected_map_name = game.maps[i][0]
map_list_container.get_child(i).grab_focus()