share/hedgewars/Data/Scripts/OfficialChallenges.lua
changeset 14231 74bf2d906097
parent 14070 a5be3ef4bbbe
equal deleted inserted replaced
14230:8edbdd3a1fe7 14231:74bf2d906097
    19     return(hashB * hashModule + hashA)
    19     return(hashB * hashModule + hashA)
    20 end
    20 end
    21 
    21 
    22 function detectMapWithDigest()
    22 function detectMapWithDigest()
    23     if RopePercent == 100 and MinesNum == 0 then
    23     if RopePercent == 100 and MinesNum == 0 then
    24         mapString = hashDigest() .. "," .. LandDigest
    24         local mapString = hashDigest() .. "," .. LandDigest
    25 
    25 
    26         if band(GameFlags, gfBorder) ~= 0 then
    26         if band(GameFlags, gfBorder) ~= 0 then
    27             mapString = "Border," .. mapString
    27             mapString = "Border," .. mapString
    28         end
    28         end
    29 
    29