Fix one big issue what broken all plugins! (#1022)
If found any config from servercmd, m_ConfigsExecutedForward not called !!!!!!! If m_ConfigsExecutedForward not called, this is broke all plugins where used m_ConfigsExecutedForward (example restmenu)
This commit is contained in:
parent
f8ac58c839
commit
275be8b0a8
|
@ -316,14 +316,10 @@ void CoreConfig::CheckLegacyBufferedCommand(char *command)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!m_LegacyMainConfigExecuted && strstr(command, MainConfigFile))
|
if (!m_LegacyMainConfigExecuted && (strstr(command, MainConfigFile) || strstr(command, MapConfigDir)))
|
||||||
{
|
{
|
||||||
m_LegacyMainConfigExecuted = true;
|
m_LegacyMainConfigExecuted = true;
|
||||||
}
|
m_PendingForwardPush = true;
|
||||||
|
|
||||||
if (!m_LegacyMapConfigsExecuted && strstr(command, MapConfigDir))
|
|
||||||
{
|
|
||||||
m_LegacyMapConfigsExecuted = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user