mirror of
https://github.com/tonytins/citylimits.git
synced 2025-03-21 07:11:20 +00:00
9 lines
183 B
GDScript3
9 lines
183 B
GDScript3
|
extends Panel
|
||
|
|
||
|
onready var city_name = $Container/CityNameEdit.text
|
||
|
|
||
|
func _on_CreateBtn_pressed():
|
||
|
SimData.city_name = city_name
|
||
|
|
||
|
get_tree().change_scene("res://scenes/Game.tscn")
|