StormyExtraction/scenes/main/main.gd
2024-09-08 23:03:55 +02:00

11 lines
204 B
GDScript

extends Node
func _ready() -> void:
loadGame()
func loadGame():
G.resetValues()
for i in get_children():
i.queue_free()
add_child(load("res://scenes/game/mainGame/main_game.tscn").instantiate())