diff options
Diffstat (limited to 'scripts/debug.gd')
-rw-r--r-- | scripts/debug.gd | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/debug.gd b/scripts/debug.gd index 339eec7..b65bd79 100644 --- a/scripts/debug.gd +++ b/scripts/debug.gd @@ -5,9 +5,9 @@ var _path var _enemies func _ready(): - _path = get_tree().root.get_child(0).find_node("path") - _player = get_tree().root.get_child(0).find_node("player") - _enemies = get_tree().root.get_child(0).find_node("enemies") + _path = get_tree().root.get_child(0).get_node("path") + _player = get_tree().root.get_child(0).get_node("player") + _enemies = get_tree().root.get_child(0).get_node("enemies") func _process(delta): pass @@ -16,7 +16,6 @@ func _process(delta): func _on_Button_button_down(): _enemies.spawn() - func _on_Button2_button_down(): var res = _path.load_nodes() _path.hide() |