Uhm... this seems to count as a workaround, not tested though
authorunc0rr
Tue, 30 Dec 2014 23:31:00 +0300
changeset 10734 8fadc4305df0
parent 10732 7c4f9e5e447c
child 10736 5b7cf9fcb47e
Uhm... this seems to count as a workaround, not tested though
gameServer/HWProtoLobbyState.hs
--- a/gameServer/HWProtoLobbyState.hs	Tue Dec 30 22:59:15 2014 +0300
+++ b/gameServer/HWProtoLobbyState.hs	Tue Dec 30 23:31:00 2014 +0300
@@ -105,7 +105,7 @@
                 : AnswerClients chans ["CLIENT_FLAGS", "-r", nick cl]
                 : [(AnswerClients [sendChan cl] $ "JOINED" : nicks) | not $ null nicks]
             )
-                ++ [ModifyRoom (\r -> let (t', g') = moveTeams clTeams . fromJust $ gameInfo r in r{gameInfo = Just g', teams = t'}) | not $ null clTeams]
+            -- ++ [ModifyRoom (\r -> let (t', g') = moveTeams clTeams . fromJust $ gameInfo r in r{gameInfo = Just g', teams = t'}) | not $ null clTeams]
             ++ [AnswerClients [sendChan cl] ["CLIENT_FLAGS", "+h", nick $ fromJust owner] | isJust owner]
             ++ [sendStateFlags cl jRoomClients | not $ null jRoomClients]
             ++ answerFullConfig cl jRoom