remove this

hooklib refactor already indirectly fixed this so this code is pointless
This commit is contained in:
Alug committed 2025-01-13 15:50:12 +01:00
1 parent 07e1c9e993
commit 88761ce4a4
1 file changed
+2 -3
+2 -3
View File
@@ -6228,7 +6228,6 @@ static boolean M_AddonsRefresh(void)
if ((refreshdirmenu & REFRESHDIR_ADDFILE) || (majormods && !prevmajormods))
{
char *message = NULL;
boolean majormodtext = false;
if (refreshdirmenu & REFRESHDIR_NOTLOADED)
{
@@ -6247,10 +6246,10 @@ static boolean M_AddonsRefresh(void)
{
S_StartSound(NULL, sfx_s221);
message = va("%c%s\x80\nYou've loaded a gameplay-modifying addon.\n\nRecord Attack data will be saved to seperate save.\n\n(Press a key)\n", ('\x80' + (highlightflags>>V_CHARCOLORSHIFT)), refreshdirname);
majormodtext = prevmajormods = majormods;
prevmajormods = majormods;
}
if (message && (refreshdirmenu || majormodtext)) // special case for gameplay modify text
if (message)
{
M_StartMessage(message,M_AddonsClearName,MM_EVENTHANDLER);
return true;