mirror of
https://git.kittycat.homes/zoe/pegchamp.git
synced 2024-08-15 03:15:39 +00:00
11 lines
263 B
GDScript
11 lines
263 B
GDScript
extends Button
|
|
|
|
export var scene = "res://Menu/MainMenu.tscn"
|
|
export var unlock_points_required = 0
|
|
|
|
func _ready():
|
|
if unlock_points_required > GameStats.unlock_points:
|
|
disabled = true
|
|
|
|
func _on_SceneSelectButton_pressed():
|
|
GameStats.set_current_scene(scene)
|