Fix Bat Sounds' Volume
parent
c20248f972
commit
e09462b424
|
@ -22,7 +22,7 @@ script = ExtResource( 2 )
|
|||
use_parent_material = true
|
||||
frames = ExtResource( 1 )
|
||||
animation = "idle"
|
||||
frame = 2
|
||||
frame = 1
|
||||
playing = true
|
||||
centered = false
|
||||
|
||||
|
@ -43,6 +43,8 @@ texture = ExtResource( 3 )
|
|||
|
||||
[node name="AudioDamage" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 4 )
|
||||
volume_db = -15.0
|
||||
|
||||
[node name="AudioScream" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 5 )
|
||||
volume_db = -15.0
|
||||
|
|
|
@ -203,7 +203,7 @@ func _physics_process(delta):
|
|||
$Sprite.playing = true
|
||||
invincibility_timer += delta
|
||||
|
||||
if not stunned:
|
||||
if not stunned and target != null:
|
||||
if recharge_timer <= get_recharge():
|
||||
recharge_timer += delta
|
||||
if not $AudioCast.playing:
|
||||
|
|
Loading…
Reference in New Issue