diff -r 4004e597f1bf -r 73119de7d3be netserver/HWProto.hs --- a/netserver/HWProto.hs Sun Oct 12 16:45:13 2008 +0000 +++ b/netserver/HWProto.hs Sun Oct 12 17:04:07 2008 +0000 @@ -218,8 +218,13 @@ else (noChangeClients, noChangeRooms, answerRunGame) -handleCmd_inRoom client _ _ ["ROUNDFINISHED"] = +handleCmd_inRoom client _ rooms ["ROUNDFINISHED"] = + if isMaster client then + (noChangeClients, modifyRoom clRoom{teams = []}, []) + else (noChangeClients, noChangeRooms, []) + where + clRoom = roomByName (room client) rooms handleCmd_inRoom client _ _ ["GAMEMSG", msg] = (noChangeClients, noChangeRooms, [(othersInRoom, ["GAMEMSG", msg])])