Seblis / They-won-t-survive

0 stars 0 forks source link

Fireball sound is ending too early #34

Closed Seblis closed 9 months ago

Seblis commented 9 months ago

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.