Audio Manager sound override rework and fixes (#617)

* Reworked the sound override system to prevent non-playing sounds

* Weird bug where it would call to stop a non-existant hammer sound on death
This commit is contained in:
guzlad
2025-10-17 21:26:04 +02:00
committed by GitHub
parent 7d6652a242
commit 9a0d61d1e1
2 changed files with 11 additions and 7 deletions

View File

@@ -299,5 +299,6 @@ func get_animation_name() -> String:
return "Fall"
func exit() -> void:
owner.on_hammer_timeout()
if owner.has_hammer:
owner.on_hammer_timeout()
owner.skidding = false