aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-10-09 00:14:53 +0200
committermetamuffin <metamuffin@disroot.org>2025-10-09 00:14:53 +0200
commit3bc5e44cf7d0272cae26341afaf577b1fe2b6f21 (patch)
tree03dbaab07aa612d48d9dc7560a9e321c2e55d05a /client
parente26c94fedb3d5b06d10e572d2f1797775bd285a5 (diff)
downloadhurrycurry-3bc5e44cf7d0272cae26341afaf577b1fe2b6f21.tar
hurrycurry-3bc5e44cf7d0272cae26341afaf577b1fe2b6f21.tar.bz2
hurrycurry-3bc5e44cf7d0272cae26341afaf577b1fe2b6f21.tar.zst
Properly free nodes in render tool
Diffstat (limited to 'client')
-rw-r--r--client/system/render_tool.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/system/render_tool.gd b/client/system/render_tool.gd
index 825f25bb..f2e05bff 100644
--- a/client/system/render_tool.gd
+++ b/client/system/render_tool.gd
@@ -54,7 +54,7 @@ func _ready():
exit()
func setup_object(object_name: String):
- if current_object: base.remove_child(current_object)
+ if current_object: current_object.queue_free()
match mode:
Mode.ITEMS:
current_object = ItemFactory.produce(object_name, base)