gameServer/HWProtoInRoomState.hs
changeset 8477 330b0b8846cf
parent 8433 3b318a130a62
child 8484 99c14f14f788
--- a/gameServer/HWProtoInRoomState.hs	Sat Feb 02 00:47:34 2013 +0400
+++ b/gameServer/HWProtoInRoomState.hs	Sat Feb 02 20:16:12 2013 +0400
@@ -123,7 +123,7 @@
     cl <- thisClient
     r <- thisRoom
     clChan <- thisClientChans
-    roomChans <- roomClientsChans
+    others <- roomOthersChans
 
     let maybeTeam = findTeam r
     let team = fromJust maybeTeam
@@ -137,7 +137,7 @@
             [AnswerClients clChan ["HH_NUM", teamName, showB $ hhnum team]]
         else
             [ModifyRoom $ modifyTeam team{hhnum = hhNumber},
-            AnswerClients roomChans ["HH_NUM", teamName, showB hhNumber]]
+            AnswerClients others ["HH_NUM", teamName, showB hhNumber]]
     where
         hhNumber = readInt_ numberStr
         findTeam = find (\t -> teamName == teamname t) . teams