mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Fix: TelepathyTransport.GetMaxPacketSize uses the new configurable max size
This commit is contained in:
parent
fc181cb4ab
commit
cb3d3dba72
@ -139,8 +139,7 @@ public override void Shutdown()
|
|||||||
|
|
||||||
public override int GetMaxPacketSize(int channelId)
|
public override int GetMaxPacketSize(int channelId)
|
||||||
{
|
{
|
||||||
// Telepathy's limit is Array.Length, which is int
|
return serverMaxMessageSize;
|
||||||
return int.MaxValue;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public override string ToString()
|
public override string ToString()
|
||||||
|
Loading…
Reference in New Issue
Block a user