# HG changeset patch # User unc0rr # Date 1391083685 -14400 # Node ID 213c38232b3daed7ae5138e18c0ce9c1d2fef58f # Parent a471a7bbc339a1e312ad15ae37801f965d8714f3 Official racer challenge #2 diff -r a471a7bbc339 -r 213c38232b3d misc/OfficialChallenges/racer_#2.hwmap --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/misc/OfficialChallenges/racer_#2.hwmap Thu Jan 30 16:08:05 2014 +0400 @@ -0,0 +1,1 @@ +AAABkHicFdCxK8RhGAfw7/u87/v8zns/9y63Wij+A5SE8YYbXErCplgMRBxXBgveS91goOQGN1jdImVw0xlOucGVQcpgk9hQ/J7l07fn21NPj9vGtIoW+Ej5Ne5WVtsVpcfsgPITKCo/qmrK5+hemV7eqgtwbd6rC6AWl0/iVS7D9PPOmwD3yHuvAqjElXZ3D1eQrFWCIO1xEKR1gTbxCSG47ySZyK4GE+kmhBA/S0rTlMwewAWaCVzQF0itJ7NUMUmuRPPBlfQ54mvbaMbX0SnUix1/oFZ0Bc7bnaqA1KLZqApwLTt0JsAvoavul7SG/9JPZf8V/SLj6K7jR+gOmVlV6/hBVUNmGcWOH0MR6Qjv++no71ZuqX0IcsHFhwDOqb7AOSrBHSTJHdIl6EYVGnRjf2DyqtkweT2X/E8NN1ybHmGYJoNhu4k4S9ldAf9Gt2jZ \ No newline at end of file diff -r a471a7bbc339 -r 213c38232b3d share/hedgewars/Data/Scripts/OfficialChallenges.lua --- a/share/hedgewars/Data/Scripts/OfficialChallenges.lua Thu Jan 30 00:18:32 2014 +0400 +++ b/share/hedgewars/Data/Scripts/OfficialChallenges.lua Thu Jan 30 16:08:05 2014 +0400 @@ -1,5 +1,9 @@ function detectMap() - if LandDigest == "M838018718Scripts/Multiplayer/Racer.lua" then - return("Racer Challenge #1") + if RopePercent == 100 and MinesNum == 0 then + if LandDigest == "M838018718Scripts/Multiplayer/Racer.lua" then + return("Racer Challenge #1") + elseif LandDigest == "M-490229244Scripts/Multiplayer/Racer.lua" then + return("Racer Challenge #2") + end end end