12 lines
204 B
GDScript
12 lines
204 B
GDScript
extends RigidBody2D
|
|
|
|
|
|
var has_played_sound = false
|
|
|
|
|
|
|
|
func _on_BoneParticle_body_entered(body):
|
|
if !has_played_sound:
|
|
Audio.play_sound(Audio.a_bullet_casing, Audio.ac_climb)
|
|
has_played_sound = true
|
|
|