mirror of
https://github.com/tonytins/citylimits.git
synced 2025-03-21 15:11:21 +00:00
8 lines
166 B
GDScript3
8 lines
166 B
GDScript3
|
extends Control
|
||
|
|
||
|
func _on_CreateBtn_pressed():
|
||
|
var city_name = $CityNameEdit.text
|
||
|
CityData.city_name = city_name
|
||
|
|
||
|
get_tree().change_scene("res://src/world.tscn")
|