changeset 8429 | f814a7c2a318 |
parent 8428 | 73ab5a17ee55 |
child 8431 | 74c2c95ab07b |
child 8444 | 75db7bb8dce8 |
--- a/gameServer/HWProtoInRoomState.hs Wed Jan 23 23:54:01 2013 +0400 +++ b/gameServer/HWProtoInRoomState.hs Wed Jan 23 23:57:47 2013 +0400 @@ -132,8 +132,8 @@ return $ if not $ isMaster cl then [ProtocolError $ loc "Not room master"] - else if isNothing maybeTeam - return [] + else if isNothing maybeTeam then + [] else if hhNumber < 1 || hhNumber > 8 || hhNumber > canAddNumber r + hhnum team then [AnswerClients clChan ["HH_NUM", teamName, showB $ hhnum team]] else