fix skelarcher bone particles throwing physics errors
This commit is contained in:
parent
e0c4bf6077
commit
8a4021c68a
1 changed files with 1 additions and 1 deletions
|
@ -42,5 +42,5 @@ func die():
|
|||
bone.angular_velocity = rand_range(-PI*2.0, PI*2.0)
|
||||
var timer = get_tree().create_timer(3.0 + rand_range(0.0, 1.0), false)
|
||||
timer.connect("timeout", bone, "queue_free")
|
||||
get_parent().add_child(bone)
|
||||
get_parent().call_deferred("add_child", bone)
|
||||
.die() # call rest of enemy.gd die() funciton
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue