Clear round replay data on server side when round is finished
authorunc0rr
Fri, 02 Jan 2009 14:22:55 +0000
changeset 1561 f0af4e5fe880
parent 1560 e140bc57ff68
child 1562 c0eea030347b
Clear round replay data on server side when round is finished
netserver/HWProto.hs
--- a/netserver/HWProto.hs	Fri Jan 02 14:22:33 2009 +0000
+++ b/netserver/HWProto.hs	Fri Jan 02 14:22:55 2009 +0000
@@ -340,7 +340,7 @@
 
 handleCmd_inRoom client clients rooms ["ROUNDFINISHED"] =
 	if isMaster client then
-		(modifyRoomClients clRoom (\cl -> cl{isReady = False}), modifyRoom clRoom{gameinprogress = False, readyPlayers = 0}, answerAllNotReady)
+		(modifyRoomClients clRoom (\cl -> cl{isReady = False}), modifyRoom clRoom{gameinprogress = False, readyPlayers = 0, roundMsgs =[]}, answerAllNotReady)
 	else
 		(noChangeClients, noChangeRooms, [])
 	where