share/hedgewars/Data/Scripts/OfficialChallenges.lua
changeset 14236 74bf2d906097
parent 14075 a5be3ef4bbbe
--- a/share/hedgewars/Data/Scripts/OfficialChallenges.lua	Mon Nov 19 00:19:21 2018 +0100
+++ b/share/hedgewars/Data/Scripts/OfficialChallenges.lua	Mon Nov 19 00:54:36 2018 +0100
@@ -21,7 +21,7 @@
 
 function detectMapWithDigest()
     if RopePercent == 100 and MinesNum == 0 then
-        mapString = hashDigest() .. "," .. LandDigest
+        local mapString = hashDigest() .. "," .. LandDigest
 
         if band(GameFlags, gfBorder) ~= 0 then
             mapString = "Border," .. mapString