From: Charles Date: Tue, 30 Mar 2010 23:51:24 +0000 (+0000) Subject: aasfdaf X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b98320a31a73dc18d6ef83cb440a5304930af161;p=chaz%2Fcarfire aasfdaf git-svn-id: https://bd85.net/svn/cs3505_group@42 92bb83a3-7c8f-8a45-bc97-515c4e399668 --- 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();