Dec-09-2021, 12:39 AM
I was able to resolve the issue. I moved all sound file loading commands to a single class so that they weren't being loaded every time the sound file is played. I also deleted the line of code that made the main music replay every cycle through the main loop. My game hasn't crashed once since making these adjustments. Thank you all for the help.