Skip to content

Commit 29ef166

Browse files
committed
fixup! Use a control to manage each drag and drop interaction
1 parent 105247c commit 29ef166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/block_code/drag_manager/drag_manager.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class Drag:
5959

6060
func _remove_block():
6161
target_snap_point = null
62-
_block.g()
62+
_block.queue_free()
6363

6464
func _place_block():
6565
var canvas_rect: Rect2 = _block_canvas.get_global_rect()

0 commit comments

Comments
 (0)