diff --git a/amxmodx/CoreConfig.cpp b/amxmodx/CoreConfig.cpp index ede4048d..a2cbe222 100644 --- a/amxmodx/CoreConfig.cpp +++ b/amxmodx/CoreConfig.cpp @@ -316,14 +316,10 @@ void CoreConfig::CheckLegacyBufferedCommand(char *command) return; } - if (!m_LegacyMainConfigExecuted && strstr(command, MainConfigFile)) + if (!m_LegacyMainConfigExecuted && (strstr(command, MainConfigFile) || strstr(command, MapConfigDir))) { m_LegacyMainConfigExecuted = true; - } - - if (!m_LegacyMapConfigsExecuted && strstr(command, MapConfigDir)) - { - m_LegacyMapConfigsExecuted = true; + m_PendingForwardPush = true; } }