From 373b0d66678a349d39146262d5b288b39c5cb1e1 Mon Sep 17 00:00:00 2001 From: IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> Date: Sat, 16 Jul 2022 23:32:01 +0200 Subject: goal zone the rest is trash --- godot/scripts/GoalTriggerBox.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'godot/scripts/GoalTriggerBox.gd') diff --git a/godot/scripts/GoalTriggerBox.gd b/godot/scripts/GoalTriggerBox.gd index 9281f0f..17e98ad 100644 --- a/godot/scripts/GoalTriggerBox.gd +++ b/godot/scripts/GoalTriggerBox.gd @@ -5,7 +5,7 @@ var loader: Loader = null # Called when the node enters the scene tree for the first time. func _ready(): - loader = get_node("../LevelLoader") + loader = get_node("/root/Game/LevelLoader") # Called every frame. 'delta' is the elapsed time since the previous frame. -- cgit