Fix spurious "This isn't a server order" logging on player disconnect.
This commit is contained in:
committed by
Matthias Mailänder
parent
dcc11c7a41
commit
c77051790a
@@ -30,7 +30,9 @@ namespace OpenRA.Server
|
|||||||
byte b;
|
byte b;
|
||||||
switch (b = r.ReadByte())
|
switch (b = r.ReadByte())
|
||||||
{
|
{
|
||||||
case 0xbf:
|
case 0xbf:
|
||||||
|
// Silently ignore disconnect notifications
|
||||||
|
return null;
|
||||||
case 0xff:
|
case 0xff:
|
||||||
Console.WriteLine("This isn't a server order.");
|
Console.WriteLine("This isn't a server order.");
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user