Fix main menu focus

This commit is contained in:
YourWishes committed 2026-06-12 22:21:42 -05:00
1 parent 27d056fafa
commit bfd455341d
3 files changed
+7 -2

No files matched your search

+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