Oops, fix the fix
authorunc0rr
Mon, 09 Nov 2015 08:40:45 +0300
changeset 11323 2400c9496288
parent 11322 c32b5d5181dd
child 11330 91370591662b
Oops, fix the fix
gameServer/EngineInteraction.hs
--- 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"]]