Fix main menu focus

This commit is contained in:
2026-06-12 22:21:42 -05:00
parent 27d056fafa
commit bfd455341d
3 changed files with 7 additions and 2 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ func _unhandled_input(event:InputEvent) -> void:
if event.is_action_pressed("menu"):
if visible:
close()
elif !UI.dialogueActive:
elif !UI.dialogueActive and SCENE.currentScene == SceneSingleton.SceneType.OVERWORLD:
open()
get_viewport().set_input_as_handled()
return