Fix team removing on PART command
authorunc0rr
Fri, 20 Feb 2009 19:54:02 +0000
changeset 1818 4391c7037281
parent 1817 c697dd093bc5
child 1819 17dac76954d1
Fix team removing on PART command
gameServer/HWProtoInRoomState.hs
--- a/gameServer/HWProtoInRoomState.hs	Fri Feb 20 19:49:34 2009 +0000
+++ b/gameServer/HWProtoInRoomState.hs	Fri Feb 20 19:54:02 2009 +0000
@@ -23,8 +23,8 @@
 	if isMaster client then
 		[RemoveRoom]
 	else
-		RoomRemoveThisClient
-		: removeClientTeams
+		removeClientTeams ++
+		[RoomRemoveThisClient]
 	where
 		client = clients IntMap.! clID
 		room = rooms IntMap.! (roomID client)