gameServer/EngineInteraction.hs
changeset 10760 fcef7d62d3c4
parent 10755 f78a5ca6e0af
child 10777 18afcfaa4d5a
--- a/gameServer/EngineInteraction.hs	Mon Jan 05 01:38:46 2015 +0300
+++ b/gameServer/EngineInteraction.hs	Mon Jan 05 11:35:04 2015 +0300
@@ -117,7 +117,7 @@
         keys2 = Set.fromList ["AMMO", "SCHEME", "SCRIPT", "THEME"]
         sane = Set.null (keys1 Set.\\ Map.keysSet mParams)
             && Set.null (keys2 Set.\\ Map.keysSet prms)
-            && (not . null . drop 40 $ scheme)
+            && (not . null . drop 41 $ scheme)
             && (not . null . tail $ prms Map.! "AMMO")
         mapGenTypes = ["+rnd+", "+maze+", "+drawn+"]
         maybeScript = let s = head . fromMaybe ["Normal"] $ Map.lookup "SCRIPT" prms in if s == "Normal" then [] else [eml ["escript Scripts/Multiplayer/", s, ".lua"]]