Fix being unable to add Lua scripts from the addons menu

This commit is contained in:
SteelT 2020-08-18 17:55:49 -04:00
parent ba15c7caf3
commit 27945cfad0

View file

@ -5273,9 +5273,6 @@ static void M_HandleAddons(INT32 choice)
M_AddonExec(KEY_ENTER);
break;
case EXT_LUA:
S_StartSound(NULL, sfx_s26d);
M_StartMessage(va("%c%s\x80\nThis version of SRB2Kart does not\nhave support for .lua files.\n\n(Press a key)\n", ('\x80' + (highlightflags>>V_CHARCOLORSHIFT)), dirmenu[dir_on[menudepthleft]]+DIR_STRING),NULL,MM_NOTHING);
break;
case EXT_SOC:
case EXT_WAD:
#ifdef USE_KART