mirror of
https://github.com/JohnBreaux/Boat-Battle.git
synced 2024-11-15 05:25:57 +00:00
363b32c6cc
title screen buttons didn't work when launched on main but did work when launched on title screen - fixed it
23 lines
499 B
GDScript3
23 lines
499 B
GDScript3
extends Control
|
|
|
|
|
|
# Declare member variables here:
|
|
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
#$VBoxContainer/Singleplayer.grab_focus()
|
|
pass
|
|
|
|
func _on_Singleplayer_pressed():
|
|
MessageBus.emit_signal("change_scene", "Singleplayer")
|
|
|
|
func _on_Multiplayer_pressed():
|
|
MessageBus.emit_signal("change_scene", "Multiplayer")
|
|
|
|
func _on_Options_pressed():
|
|
MessageBus.emit_signal("change_scene", "Options")
|
|
|
|
func _on_Quit_pressed():
|
|
MessageBus.emit_signal("quit")
|