gameServer/HWProtoInRoomState.hs
branch0.9.15
changeset 4681 f2c30204a3fd
parent 4568 f85243bf890e
child 4904 0eab727d4717
--- a/gameServer/HWProtoInRoomState.hs	Sat Dec 25 20:47:29 2010 +0100
+++ b/gameServer/HWProtoInRoomState.hs	Sat Dec 25 23:09:54 2010 +0300
@@ -37,7 +37,7 @@
 handleCmd_inRoom clID clients rooms ("ADD_TEAM" : name : color : grave : fort : voicepack : flag : difStr : hhsInfo)
     | length hhsInfo == 15 && clientProto client < 30 = handleCmd_inRoom clID clients rooms ("ADD_TEAM" : name : color : grave : fort : voicepack : " " : flag : difStr : hhsInfo)
     | length hhsInfo /= 16 = [ProtocolError "Corrupted hedgehogs info"]
-    | length (teams room) == 6 = [Warning "too many teams"]
+    | length (teams room) == 8 = [Warning "too many teams"]
     | canAddNumber <= 0 = [Warning "too many hedgehogs"]
     | isJust findTeam = [Warning "There's already a team with same name in the list"]
     | gameinprogress room = [Warning "round in progress"]