From b98320a31a73dc18d6ef83cb440a5304930af161 Mon Sep 17 00:00:00 2001 From: Charles Date: Tue, 30 Mar 2010 23:51:24 +0000 Subject: [PATCH] aasfdaf git-svn-id: https://bd85.net/svn/cs3505_group@42 92bb83a3-7c8f-8a45-bc97-515c4e399668 --- Project06/CS 3505 Project 06/CS 3505 Project 06/NetworkGame.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Project06/CS 3505 Project 06/CS 3505 Project 06/NetworkGame.cs b/Project06/CS 3505 Project 06/CS 3505 Project 06/NetworkGame.cs index bc0617c..45c5d0a 100644 --- a/Project06/CS 3505 Project 06/CS 3505 Project 06/NetworkGame.cs +++ b/Project06/CS 3505 Project 06/CS 3505 Project 06/NetworkGame.cs @@ -641,6 +641,7 @@ namespace CS_3505_Project_06 NetworkGamer sender; localGamer.ReceiveData(mPacketReader, out sender); + if (sender == null || sender.IsDisposed) continue; GamerInfo senderInfo = mGamers[sender.Id]; PacketType packetId = (PacketType)mPacketReader.ReadByte(); -- 2.45.2