YSCEDC / YSCE

YSFlight Community Edition
BSD 3-Clause "New" or "Revised" License
13 stars 4 forks source link

[BUG] Sound loops in End Flight menu #33

Open XA-38 opened 1 year ago

XA-38 commented 1 year ago

YSCE Build Number upstream

System Specifications Operating System: Manjaro Linux 23 (5.10.181-2-MANJARO) CPU: Intel® Core™ i7-2620M GPU: Intel® HD Graphics 3000 RAM: 8GB DDR3 1333 MHz

Describe the bug In the End Flight menu, the current background sound(s) loop until the user selects "CONTINUE" or "TERMINATE." In the case of a crash, this results in the crash sound repeating.

To Reproduce Steps to reproduce the behavior:

  1. Create a new flight
  2. Use Fly Now to start the flight
  3. Take off and crash
  4. The crash and engine sounds repeat themselves

(note: it seems like any sound will repeat, so you could also fire the gun or a missile and hit the escape key twice to bring up the End Flight menu while the sound is playing)

Expected behavior There should be no sound in the End Flight menu, since the user is only able to end the flight or respawn at the starting position once they reach this menu.

NodokaHanamura commented 1 year ago

Since it relates to sound we might need to check and see if it replicates on windows.

XA-38 commented 1 year ago

I am able to replicate this on macOS and Windows

NodokaHanamura commented 1 year ago

Alright. We'll tackle this as soon as we can, thanks for the bug report!

Skipper-is commented 1 year ago

Weird, I am not able to replicate on my Windows machine