verhoevenv/OpenNotrium

Menu music not playing when returning to menu

verhoevenv opened this issue · 1 comments

I suspect the intention was to make the menu music play whenever the menu is shown, however there's a bug in that code:
at

SwapSourceFilter("music/menu/menu.mp3");

SwapSourceFilter("music/menu/menu.mp3");

references an unknown file, it should be

SwapSourceFilter("music/menu.mp3");

I would prefer moving any hard-coded file names like those into a single place. And the fact that we're calling a function called "SwapSourceFilter" in the main file doesn't comfort me either. :P