Oops, got too excited
authorunc0rr
Wed, 23 Jan 2013 23:57:47 +0400
changeset 8429 f814a7c2a318
parent 8428 73ab5a17ee55
child 8430 5a5c34a75e1a
Oops, got too excited
gameServer/HWProtoInRoomState.hs
--- 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