Eh, faulty check
authorunc0rr
Mon, 05 Jan 2015 11:35:04 +0300
changeset 10760 fcef7d62d3c4
parent 10758 0f3a0f117810
child 10763 161b9104b7b3
Eh, faulty check
gameServer/EngineInteraction.hs
--- 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"]]