mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 14:58:06 +03:00
Fix one big issue what broken all plugins!
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
6ce36f22e1
@ -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…
x
Reference in New Issue
Block a user