steam fizzles out when turned off
This commit is contained in:
parent
17dbf626d6
commit
8a210d1da1
1 changed files with 3 additions and 1 deletions
|
@ -23,4 +23,6 @@ func _physics_process(delta):
|
||||||
particles.emitting = true
|
particles.emitting = true
|
||||||
|
|
||||||
func switch_action():
|
func switch_action():
|
||||||
queue_free()
|
particles.emitting = false
|
||||||
|
collision_shape.disabled = true
|
||||||
|
get_tree().create_timer(particles.lifetime).connect("timeout", self, "queue_free")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue