gameServer/EngineInteraction.hs
changeset 11328 2400c9496288
parent 11321 71a46315c2d4
child 11337 41ca5f8ace18
--- a/gameServer/EngineInteraction.hs	Sun Nov 08 14:54:22 2015 +0100
+++ b/gameServer/EngineInteraction.hs	Mon Nov 09 08:40:45 2015 +0300
@@ -126,7 +126,7 @@
             && Set.null (keys2 Set.\\ Map.keysSet prms)
             && (not . null . drop 41 $ scheme)
             && (not . null . tail $ prms Map.! "AMMO")
-            && ((B.length . head $ prms Map.! "AMMO") > 200)
+            && ((B.length . head . tail $ prms Map.! "AMMO") > 200)
         mapGenTypes = ["+rnd+", "+maze+", "+drawn+", "+perlin+"]
         scriptName = head . fromMaybe ["Normal"] $ Map.lookup "SCRIPT" prms
         maybeScript = let s = scriptName in if s == "Normal" then [] else [eml ["escript Scripts/Multiplayer/", s, ".lua"]]