royalty free music
This commit is contained in:
parent
9e987155d0
commit
5d15de631a
5 changed files with 33 additions and 1 deletions
|
|
@ -182,7 +182,8 @@ func _process(delta: float) -> void:
|
|||
func damage(damager: Node3D) -> void:
|
||||
if health <= 0: return
|
||||
if state == State.DASHING:
|
||||
damager.kill()
|
||||
if damager.has_method("kill"):
|
||||
damager.kill()
|
||||
else:
|
||||
if damage_clock <= 0.:
|
||||
%CrashSFX.play()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue