From d04792923ba205352bc8877c68dceab7810a6468 Mon Sep 17 00:00:00 2001 From: Will Thompson Date: Mon, 17 Jun 2024 16:41:06 +0100 Subject: [PATCH] instruction_tree: Remove unused generate_tree() method This method was introduced in 0b392c281a31d7f41031674debe7cc06e949fff5 but never used. --- addons/block_code/instruction_tree/instruction_tree.gd | 4 ---- 1 file changed, 4 deletions(-) diff --git a/addons/block_code/instruction_tree/instruction_tree.gd b/addons/block_code/instruction_tree/instruction_tree.gd index e1a6912b..18772122 100644 --- a/addons/block_code/instruction_tree/instruction_tree.gd +++ b/addons/block_code/instruction_tree/instruction_tree.gd @@ -17,10 +17,6 @@ class TreeNode: children.append(node) -func generate_tree(root_block: Block) -> TreeNode: - return root_block.get_instruction() - - func generate_text(root_node: TreeNode, start_depth: int = 0) -> String: out = "" depth = start_depth