fix crash wrt chat in lobby

This commit is contained in:
Bob
2010-10-12 20:32:33 +13:00
parent 7ca9fcdac9
commit 6b6c9639f9
2 changed files with 5 additions and 9 deletions

View File

@@ -23,7 +23,7 @@ namespace OpenRA.Network
public Client ClientWithIndex( int clientID )
{
return Clients.Single( c => c.Index == clientID );
return Clients.SingleOrDefault( c => c.Index == clientID );
}
public Client ClientInSlot( Slot slot )