From 6d5360ec356237ae987f1f35d64006685a8ad105 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 16 Apr 2024 03:20:02 +0200 Subject: [PATCH] Remove unused `SpawnerFree` --- behaviours/spawner_free.tscn | 8 -------- entities/gold.tscn | 4 ++-- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 behaviours/spawner_free.tscn diff --git a/behaviours/spawner_free.tscn b/behaviours/spawner_free.tscn deleted file mode 100644 index 6459ce3..0000000 --- a/behaviours/spawner_free.tscn +++ /dev/null @@ -1,8 +0,0 @@ -[gd_scene load_steps=2 format=3 uid="uid://dv7ea2y0l46e"] - -[ext_resource type="Script" path="res://behaviours/spawner.gd" id="1_fa574"] - -[node name="SpawnerFree" type="Node2D"] -script = ExtResource("1_fa574") - -[connection signal="tree_exiting" from="." to="." method="spawn"] diff --git a/entities/gold.tscn b/entities/gold.tscn index 2a86cd3..7af1dee 100644 --- a/entities/gold.tscn +++ b/entities/gold.tscn @@ -4,7 +4,7 @@ [ext_resource type="PackedScene" uid="uid://bvrxvrjlo5130" path="res://behaviours/move_towards_mouse.tscn" id="2_lso1v"] [ext_resource type="Texture2D" uid="uid://bfl0tkg85cvb8" path="res://entities/gold.png" id="2_tt3v6"] [ext_resource type="PackedScene" uid="uid://dj72yshd25ucx" path="res://behaviours/collectable.tscn" id="3_q0bno"] -[ext_resource type="PackedScene" uid="uid://dv7ea2y0l46e" path="res://behaviours/spawner_free.tscn" id="5_pbaso"] +[ext_resource type="PackedScene" uid="uid://tx1qi6ahlxjp" path="res://behaviours/spawner.tscn" id="5_t7ey8"] [ext_resource type="PackedScene" uid="uid://eqg6snsgn1kh" path="res://players/gold_pickup_player.tscn" id="6_eoeje"] [node name="Gold" type="Node2D"] @@ -22,7 +22,7 @@ speed = 555.0 scale = Vector2(0.6, 0.6) tag = &"Gold" -[node name="SpawnerFree" parent="." instance=ExtResource("5_pbaso")] +[node name="Spawner" parent="." instance=ExtResource("5_t7ey8")] scene = ExtResource("6_eoeje") [connection signal="move" from="MoveTowardsMouse" to="." method="_on_move"]