# HG changeset patch # User unc0rr # Date 1456034953 -10800 # Node ID cf5d454443570dacf0b9f7d055bc7d360687e239 # Parent af9aa8d5863c6bc7eb91ad316edb8d8c541c1083 Oops, fix whose nick to compare to diff -r af9aa8d5863c -r cf5d45444357 gameServer/HWProtoInRoomState.hs --- a/gameServer/HWProtoInRoomState.hs Sat Feb 20 22:02:13 2016 +0300 +++ b/gameServer/HWProtoInRoomState.hs Sun Feb 21 09:09:13 2016 +0300 @@ -54,7 +54,7 @@ , AnswerClients chans ["RUN_GAME"] , SendUpdateOnThisRoom , AnswerClients chans $ "CLIENT_FLAGS" : "+g" : nicks - , ModifyRoomClients (\c -> c{isInGame = True, teamIndexes = map snd . filter (\(t, _) -> teamowner t == nick cl) $ zip (teams rm) [0..]}) + , ModifyRoomClients (\c -> c{isInGame = True, teamIndexes = map snd . filter (\(t, _) -> teamowner t == nick c) $ zip (teams rm) [0..]}) ] else return [Warning $ loc "Less than two clans!"]