diff options
author | IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> | 2022-07-17 01:01:02 +0200 |
---|---|---|
committer | IcECreAm777 <31211782+IcECreAm777@users.noreply.github.com> | 2022-07-17 01:01:02 +0200 |
commit | 98a089669678984edaf6ef37d5a0c463962b007b (patch) | |
tree | b426e2812eb7dc9b84c1fab17e6f828a2ba26418 /godot/scripts/GoalTriggerBox.gd | |
parent | ae7b1a2b6629749c9df00d65a7c5e227268827fc (diff) | |
download | 2022-98a089669678984edaf6ef37d5a0c463962b007b.tar.gz 2022-98a089669678984edaf6ef37d5a0c463962b007b.tar.bz2 2022-98a089669678984edaf6ef37d5a0c463962b007b.zip |
simple scoreboard
Diffstat (limited to 'godot/scripts/GoalTriggerBox.gd')
-rw-r--r-- | godot/scripts/GoalTriggerBox.gd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/godot/scripts/GoalTriggerBox.gd b/godot/scripts/GoalTriggerBox.gd index 17e98ad..42345d8 100644 --- a/godot/scripts/GoalTriggerBox.gd +++ b/godot/scripts/GoalTriggerBox.gd @@ -1,11 +1,11 @@ extends Area -const Loader = preload("res://scripts/LevelLoader.gd") +const Loader = preload("res://scenes/Game.gd") var loader: Loader = null # Called when the node enters the scene tree for the first time. func _ready(): - loader = get_node("/root/Game/LevelLoader") + loader = get_node("/root/Game") # Called every frame. 'delta' is the elapsed time since the previous frame. |