aboutsummaryrefslogtreecommitdiff
path: root/client/menu/lobby.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/menu/lobby.gd')
-rw-r--r--client/menu/lobby.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/menu/lobby.gd b/client/menu/lobby.gd
index e96e11c4..a06b244a 100644
--- a/client/menu/lobby.gd
+++ b/client/menu/lobby.gd
@@ -58,9 +58,9 @@ func _input(event):
if not visible:
return
- if Input.is_action_just_pressed("previous"):
+ if Input.is_action_just_pressed("previous") and not prev_map.disabled:
prev_map.emit_signal("pressed")
- elif Input.is_action_just_pressed("next"):
+ elif Input.is_action_just_pressed("next") and not next_map.disabled:
next_map.emit_signal("pressed")
func _on_left_pressed():