summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/menu/lobby.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/menu/lobby.gd b/client/menu/lobby.gd
index 770b2888..39199d59 100644
--- a/client/menu/lobby.gd
+++ b/client/menu/lobby.gd
@@ -108,7 +108,8 @@ func select_map(i: int):
map_player_label.text = tr("c.map.players_recommended") % map_data["players"]
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()
+ if not game.menu.covered:
+ map_list_container.get_child(i).grab_focus()
func increase_bot_count(algo_id: String):
bot_counts[algo_id] = clampi(bot_counts[algo_id] + 1, 0, MAX_BOT_COUNT_PER_TYPE)