netserver/HWProto.hs
changeset 1404 2b6b6809c2e4
parent 1403 b8c921ed0f13
child 1406 08b9c28419f1
--- a/netserver/HWProto.hs	Thu Oct 23 15:12:38 2008 +0000
+++ b/netserver/HWProto.hs	Fri Oct 24 12:57:06 2008 +0000
@@ -241,7 +241,7 @@
 			(modifyClient client{isReady = True}, modifyRoom clRoom{readyPlayers = newReadyPlayers}, answerReady $ nick client)
 	where
 		clRoom = roomByName (room client) rooms
-		newReadyPlayers = (readyPlayers clRoom) + if isReady client then 1 else -1
+		newReadyPlayers = (readyPlayers clRoom) + if isReady client then -1 else 1
 
 handleCmd_inRoom client _ rooms ["ROUNDFINISHED"] =
 	if isMaster client then