Fix typo in fallback to "default" maplists section (#923)
When lookup of a more specialized entry in the maplists.cfg failed, it wouldn't fallback to the "default" section, but just try to parse the same section again.
This commit is contained in:
parent
d79c5e0dfa
commit
f0aec6b0b6
@ -441,7 +441,7 @@ public:
|
|||||||
*/
|
*/
|
||||||
if (strcmp(name, "default") != 0)
|
if (strcmp(name, "default") != 0)
|
||||||
{
|
{
|
||||||
success = GetMapList(&pNewArray, name, &change_serial);
|
success = GetMapList(&pNewArray, "default", &change_serial);
|
||||||
}
|
}
|
||||||
/* If either of the last two conditions failed, try again if we can. */
|
/* If either of the last two conditions failed, try again if we can. */
|
||||||
if (!success && strcmp(name, "mapcyclefile") != 0)
|
if (!success && strcmp(name, "mapcyclefile") != 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user