# HG changeset patch # User unc0rr # Date 1251971362 0 # Node ID f07fd1ac2c48ed367ce53fb23d7d11008a032ec8 # Parent daf1785f2337e7d044eb48854ff1f71da55c134f Warn players in room when admin lefts room diff -r daf1785f2337 -r f07fd1ac2c48 gameServer/Actions.hs --- a/gameServer/Actions.hs Wed Sep 02 09:04:06 2009 +0000 +++ b/gameServer/Actions.hs Thu Sep 03 09:49:22 2009 +0000 @@ -196,6 +196,7 @@ if (gameinprogress room) && (playersIn room > 1) then (changeMaster >>= (\state -> foldM processAction state [AnswerOthersInRoom ["LEFT", nick client, msg], + AnswerOthersInRoom ["WARNING", "Admin left the room"], RemoveClientTeams clID])) else -- not in game processAction (clID, serverInfo, clients, rooms) RemoveRoom