--- 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