summaryrefslogtreecommitdiff
path: root/Scenes/Components
diff options
context:
space:
mode:
Diffstat (limited to 'Scenes/Components')
-rw-r--r--Scenes/Components/SceneTransition.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/Scenes/Components/SceneTransition.gd b/Scenes/Components/SceneTransition.gd
index ee01938..befeaf4 100644
--- a/Scenes/Components/SceneTransition.gd
+++ b/Scenes/Components/SceneTransition.gd
@@ -27,6 +27,7 @@ func _on_body_entered(body: Node2D):
# var tween = create_tween()
# tween.tween_property($Sprite2D, "modulate", Color(0, 0, 0, 1), 0.75)
var tween = Utilities.fade_screen(Color(0, 0, 0, 0), Color(0, 0, 0, 1), 0.75)
+ Utilities.fade_bg_music(0.75)
tween.connect("finished", func():
Utilities.change_scene_with_player_to_position(
self.scene, player, NodePath(targetPlayerPositionNodePath)