When a fireball hits during its first frames, it's destroyed together with its sound. We need to implement a method for projectiles that ensures that BOTH conditions (projectile hit and sound finished) happen before we queue_free() a projectile.
If the projectile hits before the sound finishes, we need to hide it and disable collision monitoring.
When a fireball hits during its first frames, it's destroyed together with its sound. We need to implement a method for projectiles that ensures that BOTH conditions (projectile hit and sound finished) happen before we
queue_free()
a projectile.If the projectile hits before the sound finishes, we need to hide it and disable collision monitoring.