Delta-v/Content.Client/Instruments
Hannah Giovanna Dawson 1defdebd7b
Fix MIDI Loading Failing Whilst a MIDI is playing (#23339)
SS14-1148 Fix MIDI Loading Failing Whilst a MIDI is playing

The behaviour of the button event handling did some wonky
async handling that got PJB swearing repeatedly in the contributor
VC.

Improve switching MIDI songs by:

0. Add a bool that tracks if we're currently waiting for the MIDI file
browser to terminate. Use this bool to short-circuit the
MidiFileButtonOnPressed function, ensuring you don't have to close
a morbillion file windows if you spam-clicked the  button or forgot
you'd opened the window.
1. Remove a four-year-old hack involving waiting 100ms to load a MIDI
after trying to stop the last MIDI, because _the rot consumes_ or some shit
2024-01-04 13:19:22 +11:00
..
UI Fix MIDI Loading Failing Whilst a MIDI is playing (#23339) 2024-01-04 13:19:22 +11:00
InstrumentComponent.cs Remove instruments compref (#19560) 2023-09-12 14:43:06 +10:00
InstrumentSystem.cs Update content to new ParallelManager (#21813) 2023-11-29 11:00:12 +11:00