Reworked main menu. Fixed projectiles bug
This commit is contained in:
+9
-1
@@ -1,4 +1,4 @@
|
||||
extends Node
|
||||
extends Control
|
||||
|
||||
|
||||
@onready var continue_button := $%ContinueButton
|
||||
@@ -14,6 +14,14 @@ func _ready() -> void:
|
||||
_setup_neighbors()
|
||||
|
||||
|
||||
func _on_visibility_changed() -> void:
|
||||
if not is_node_ready(): return
|
||||
if not visible: return
|
||||
|
||||
_init_focus()
|
||||
_setup_neighbors()
|
||||
|
||||
|
||||
func _init_focus() -> void:
|
||||
continue_button.grab_focus()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user