Open jason-e opened 1 year ago
Fixed the bug of OnSoundFinished
firing at incorrect times, and disabled it for looping sounds.
@jason-e The only thing now is getting it working with save/load/savestates. I assume there needs to be some other work to look at this first, but we should be able to play sounds at arbitrary times yup!
@braem @jason-e we should probably split out the remaining things into a new issue here, as 0.9.7 tackles the first bullet point
OnSoundFinished
before the duration of the sound file is known (as if the file has not been fully precached or something), causing the event to fire instantly. Reloading the map or even loading a different map and then the original will cause the expected behavior to occur, which suggests the sound file/duration is still cached somewhere.Less critically:
The
OnSoundFinished
event came from mapbase so we could just get rid of it entirely.