From 52f19ebb7a2804a7807471502a073f157483398a Mon Sep 17 00:00:00 2001 From: Jonas Bernard Date: Mon, 26 Apr 2021 21:04:01 +0200 Subject: j --- scenes/levels/base_level.gd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scenes/levels/base_level.gd') diff --git a/scenes/levels/base_level.gd b/scenes/levels/base_level.gd index 68e0ccb..3c52029 100644 --- a/scenes/levels/base_level.gd +++ b/scenes/levels/base_level.gd @@ -8,6 +8,7 @@ onready var _health_bar = $Camera2D/healthbar onready var _last_camera_location : Vector2 = $Camera2D.position const _levels = [ preload("res://scenes/levels/hearts_introduce.tscn"), + preload("res://scenes/levels/typeracer_explain.tscn"), preload("res://scenes/levels/typeracer.tscn"), preload("res://scenes/levels/reactiontest.tscn"), preload("res://scenes/levels/pixel/PixelDefender.tscn"), @@ -71,7 +72,7 @@ func _unload_current_level(): yield(get_tree(), "idle_frame") # todo animation here? post mortem func _delayed_delete(c): - yield(get_tree().create_timer(10.0), "timeout") + yield(get_tree().create_timer(5.0), "timeout") c.queue_free() func _load_current_level(): if _loaded_level != null: -- cgit