You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
418 B
18 lines
418 B
extends Control
|
|
|
|
|
|
func _ready():
|
|
pass
|
|
|
|
|
|
func _on_CancelButton_pressed():
|
|
var error = get_tree().change_scene("res://menu/MainMenu.tscn")
|
|
if error != 0:
|
|
Global.print_debug("Error : %d" % (error))
|
|
|
|
|
|
func _on_CreateButton_pressed():
|
|
Global.terrain_name = $VBoxContainer/LineEdit.text
|
|
var error = get_tree().change_scene("res://menu/LoadingScreen.tscn")
|
|
if error != 0:
|
|
Global.print_debug("Error : %d" % (error))
|
|
|