[next] adding mario via the addons menu and then backing out crashes the game
looks like the crash line is lua_getref(gL, hookRefs[hook->id]);
srb2win-next-06dfd360e.exe caused an Access Violation at location 005D6EE5 in module srb2win-next-06dfd360e.exe Reading from location A75CEDEC.
Registers:
eax=64225b09 ebx=0566fb10 ecx=168e0858 edx=16d381c8 esi=00000002 edi=00000000
eip=005d6ee5 esp=0566fa90 ebp=0566fb48 iopl=0 nv up ei pl nz na pe nc
cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00210202
AddrPC Params
005D6EE5 0566FB70 00000000 00000000 srb2win-next-06dfd360e.exe!LUA_HookMusicChange [C://projects//srb2//src/lua_hooklib.c @ 389]
004B7D6C 00000000 00000000 00000000 srb2win-next-06dfd360e.exe!M_ChangeMenuMusic [C://projects//srb2//src/m_menu.c @ 2697]