Skip to content

Commit

Permalink
Lint + format
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanito committed Nov 24, 2023
1 parent 0a9efb9 commit a192390
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion level_completed.gd
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ signal next_level
@onready var restart_button = %RestartButton
@onready var next_level_button = %NextLevelButton


func _ready():
next_level_button.grab_focus()


func _on_restart_button_pressed():
restart.emit()
Expand Down
1 change: 1 addition & 0 deletions victory_screen.gd
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ extends CenterContainer

@onready var menu_button = $VBoxContainer/MenuButton


func _ready():
menu_button.grab_focus()
LevelTransition.fade_from_black()
Expand Down
2 changes: 1 addition & 1 deletion world.gd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func _ready():
if not next_level:
level_completed.next_level_button.text = "Victory Screen"
next_level = load("res://victory_screen.tscn")

Events.level_completed.connect(show_level_completed)

get_tree().paused = true
Expand Down

0 comments on commit a192390

Please sign in to comment.