gameServer/HWProtoInRoomState.hs
branchhedgeroid
changeset 6224 42b256eca362
parent 6069 d59745e525ec
child 6403 477034740077
--- a/gameServer/HWProtoInRoomState.hs	Fri Oct 28 17:41:39 2011 +0200
+++ b/gameServer/HWProtoInRoomState.hs	Fri Oct 28 18:26:17 2011 +0200
@@ -14,6 +14,7 @@
 import Utils
 import HandlerUtils
 import RoomsAndClients
+import EngineInteraction
 
 handleCmd_inRoom :: CmdHandler
 
@@ -178,7 +179,7 @@
             return [
                 ModifyRoom
                     (\r -> r{
-                        gameInfo = Just $ newGameInfo allPlayersRegistered
+                        gameInfo = Just $ newGameInfo allPlayersRegistered (mapParams rm) (params rm)
                         }
                     ),
                 AnswerClients chans ["RUN_GAME"]