mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-12-18 01:06:47 +01:00
13 lines
362 B
GDScript3
13 lines
362 B
GDScript3
|
extends Button
|
||
|
|
||
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
||
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||
|
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||
|
|
||
|
|
||
|
func _ready():
|
||
|
connect("pressed", self, "on_click")
|
||
|
|
||
|
func on_click() -> void:
|
||
|
get_node("/root/Main").switch_scene(Main.StartSceneTypes.MENU)
|