8000 Merge pull request #214 from endlessm/213-fix-simplecharacter · endlessm/godot-block-coding@67def96 · GitHub
[go: up one dir, main page]

Skip to content

Commit 67def96

Browse files
authored
Merge pull request #214 from endlessm/213-fix-simplecharacter
Remove _exit_tree methods from Simple nodes
2 parents f60469a + ec063a7 commit 67def96

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

addons/block_code/simple_nodes/simple_character/simple_character.gd

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,16 +72,6 @@ func simple_setup():
7272
_texture_updated()
7373

7474

75-
func _exit_tree():
76-
if collision:
77-
collision.queue_free()
78-
collision = null
79-
80-
if sprite:
81-
sprite.queue_free()
82-
sprite = null
83-
84-
8575
func get_custom_class():
8676
return "SimpleCharacter"
8777

addons/block_code/simple_nodes/simple_scoring/simple_scoring.gd

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ func simple_setup():
6363
add_child(right_label)
6464

6565

66-
func _exit_tree():
67-
for label in _score_labels.values():
68-
label.queue_free()
69-
_score_labels.clear()
70-
71-
7266
func get_custom_class():
7367
return "SimpleScoring"
7468

0 commit comments

Comments
 (0)
0