--- a/netserver/HWProto.hs Thu Oct 09 16:05:01 2008 +0000
+++ b/netserver/HWProto.hs Thu Oct 09 17:14:29 2008 +0000
@@ -159,7 +159,7 @@
if length (teams clRoom) == 6 || canAddNumber <= 0 || isJust findTeam then
(noChangeClients, noChangeRooms, answerCantAdd)
else
- (noChangeClients, modifyRoom clRoom{teams = teams clRoom ++ [newTeam]}, answerTeamAccepted newTeam ++ answerAddTeam newTeam)
+ (noChangeClients, modifyRoom clRoom{teams = teams clRoom ++ [newTeam]}, answerTeamAccepted newTeam ++ answerAddTeam newTeam ++ answerTeamColor name color)
where
clRoom = roomByName (room client) rooms
newTeam = (TeamInfo (nick client) name color grave fort difficulty newTeamHHNum (hhsList hhsInfo))