# HG changeset patch # User unc0rr # Date 1447047645 -10800 # Node ID 2400c94962881315fa371e18c34cf13a17bb0e76 # Parent c32b5d5181dd87a3ce915a2442f50a6d3e103538 Oops, fix the fix diff -r c32b5d5181dd -r 2400c9496288 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"]]