fix input and delete dead code
This commit is contained in:
@@ -73,6 +73,8 @@ func _unhandled_input(event: InputEvent) -> void:
|
||||
else:
|
||||
_open_game_menu_on_page(2)
|
||||
elif event.is_action_pressed("hide_ui"):
|
||||
if photo_mode_texture_panel.visible:
|
||||
return
|
||||
if not game_menu_panel.visible:
|
||||
_on_hide_ui_button_pressed()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user