From f0aec6b0b63c616949c7cdaf9319ab439ae86b72 Mon Sep 17 00:00:00 2001 From: peace-maker Date: Tue, 13 Nov 2018 17:32:18 +0100 Subject: [PATCH] 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. --- core/logic/smn_maplists.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/logic/smn_maplists.cpp b/core/logic/smn_maplists.cpp index 4361e632..9d39d2c5 100644 --- a/core/logic/smn_maplists.cpp +++ b/core/logic/smn_maplists.cpp @@ -441,7 +441,7 @@ public: */ 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 (!success && strcmp(name, "mapcyclefile") != 0)