diff --git a/src/models/enemies/bat/Bat.tscn b/src/models/enemies/bat/Bat.tscn index f5ef64e..a2e77eb 100644 --- a/src/models/enemies/bat/Bat.tscn +++ b/src/models/enemies/bat/Bat.tscn @@ -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 diff --git a/src/models/player/player.gd b/src/models/player/player.gd index 9fac3f5..94bcf49 100644 --- a/src/models/player/player.gd +++ b/src/models/player/player.gd @@ -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: