18 lines
347 B
GDScript
18 lines
347 B
GDScript
extends Node
|
|
|
|
func _ready():
|
|
if Global.check_onetime_flag("multiplayer"):
|
|
_on_multiplayer_pressed()
|
|
|
|
func _on_Singleplayer_pressed():
|
|
Global.start_singleplayer_game()
|
|
|
|
func _on_multiplayer_pressed():
|
|
Global.lobby_browser()
|
|
|
|
func _on_JoinLobbyButton_pressed():
|
|
Global.quit()
|
|
|
|
func _on_LinkButton_pressed():
|
|
OS.shell_open("https://lyte.dev")
|