Fix spurious "This isn't a server order" logging on player disconnect.

This commit is contained in:
Paul Chote
2018-05-20 11:11:41 +01:00
committed by Matthias Mailänder
parent dcc11c7a41
commit c77051790a

View File

@@ -30,7 +30,9 @@ namespace OpenRA.Server
byte b;
switch (b = r.ReadByte())
{
case 0xbf:
case 0xbf:
// Silently ignore disconnect notifications
return null;
case 0xff:
Console.WriteLine("This isn't a server order.");
return null;