project_teddy/scripts/sceneChangerConfirm.gd
2023-03-17 12:11:47 -06:00

19 lines
255 B
GDScript

extends Control
func _ready():
pass
func _process(delta):
pass
func _on_yes_button_pressed():
Networking.peer.close()
Global.playingGame = false
get_tree().change_scene_to_file(Global.goScene)
func _on_no_button_pressed():
self.queue_free()