aboutsummaryrefslogtreecommitdiffstats
path: root/godot/scripts/GoalTriggerBox.gd
diff options
context:
space:
mode:
Diffstat (limited to 'godot/scripts/GoalTriggerBox.gd')
-rw-r--r--godot/scripts/GoalTriggerBox.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/godot/scripts/GoalTriggerBox.gd b/godot/scripts/GoalTriggerBox.gd
index 42345d8..6e1034b 100644
--- a/godot/scripts/GoalTriggerBox.gd
+++ b/godot/scripts/GoalTriggerBox.gd
@@ -18,5 +18,5 @@ func _on_Area2_body_entered(body: RigidBody):
if body == null:
return
- loader.load_next_level()
+ loader.end_level()