diff options
Diffstat (limited to 'demos/3d/platformer/enemy.gd')
-rw-r--r-- | demos/3d/platformer/enemy.gd | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/3d/platformer/enemy.gd b/demos/3d/platformer/enemy.gd index cbbb2fe725..9b2e95a96d 100644 --- a/demos/3d/platformer/enemy.gd +++ b/demos/3d/platformer/enemy.gd @@ -91,4 +91,5 @@ func _ready(): # Initalization here pass - +func _die(): + queue_free() |