small racing game im working on
Diffstat (limited to 'ui/tracks.gd')
-rw-r--r--ui/tracks.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/tracks.gd b/ui/tracks.gd
index eb3d14d..68f0700 100644
--- a/ui/tracks.gd
+++ b/ui/tracks.gd
@@ -13,6 +13,7 @@ func _ready() -> void:
await button.init(track, ghost)
button.play.connect(play.bind(track, ghost))
button.watch.connect(watch.bind(track, ghost))
+ (get_child(0) as TrackButton).button.grab_focus()
func play(track: TrackResource, ghost: GhostData) -> void:
print("play %s" % track.name)