author | unc0rr |
Wed, 02 Sep 2009 08:50:45 +0000 | |
changeset 2343 | 3ab763dc14a3 |
parent 2342 | ba22dc845b2d |
child 2344 | 63b3da03ce46 |
--- a/gameServer/Actions.hs Wed Sep 02 08:45:15 2009 +0000 +++ b/gameServer/Actions.hs Wed Sep 02 08:50:45 2009 +0000 @@ -194,7 +194,9 @@ if roomID client /= 0 then if isMaster client then if (gameinprogress room) && (playersIn room > 1) then - changeMaster + (changeMaster >>= (\state -> foldM processAction state + [AnswerOthersInRoom ["LEFT", nick client, msg], + RemoveClientTeams clID])) else -- not in game processAction (clID, serverInfo, clients, rooms) RemoveRoom else -- not master