11 lines
279 B
GDScript
11 lines
279 B
GDScript
extends CanvasLayer
|
|
|
|
export var hub_world_path: String = 'res://Levels/Hub World.tscn'
|
|
|
|
|
|
func _on_timer_timeout() -> void:
|
|
if get_tree().change_scene(hub_world_path) != OK:
|
|
print('ERROR: Level Ending failed to change scene to Hub World.')
|
|
queue_free()
|
|
return
|