Include feature_size to demos for checker
authorunc0rr
Sun, 04 Jan 2015 23:45:55 +0300
changeset 10755 f78a5ca6e0af
parent 10752 2a7fd2443ccd
child 10758 0f3a0f117810
Include feature_size to demos for checker
gameServer/EngineInteraction.hs
--- a/gameServer/EngineInteraction.hs	Sun Jan 04 00:29:19 2015 +0300
+++ b/gameServer/EngineInteraction.hs	Sun Jan 04 23:45:55 2015 +0300
@@ -104,6 +104,7 @@
         , schemeFlags
         , schemeAdditional
         , [eml ["e$template_filter ", mParams Map.! "TEMPLATE"]]
+        , [eml ["e$feature_size ", mParams Map.! "FEATURE_SIZE"]]
         , [eml ["e$mapgen ", mapgen]]
         , mapgenSpecific
         , concatMap teamSetup ti
@@ -112,7 +113,7 @@
         ]
     where
         keys1, keys2 :: Set.Set B.ByteString
-        keys1 = Set.fromList ["MAP", "MAPGEN", "MAZE_SIZE", "SEED", "TEMPLATE"]
+        keys1 = Set.fromList ["FEATURE_SIZE", "MAP", "MAPGEN", "MAZE_SIZE", "SEED", "TEMPLATE"]
         keys2 = Set.fromList ["AMMO", "SCHEME", "SCRIPT", "THEME"]
         sane = Set.null (keys1 Set.\\ Map.keysSet mParams)
             && Set.null (keys2 Set.\\ Map.keysSet prms)