You've already forked lidgren-network-gen3
mirror of
https://github.com/lidgren/lidgren-network-gen3.git
synced 2026-05-17 23:56:30 +09:00
Fixed again hehe
This commit is contained in:
@@ -518,7 +518,7 @@ namespace Lidgren.Network
|
|||||||
}
|
}
|
||||||
|
|
||||||
byte[] bytes = Encoding.UTF8.GetBytes(source);
|
byte[] bytes = Encoding.UTF8.GetBytes(source);
|
||||||
EnsureBufferSize(m_bitLength + 1 + (bytes.Length * 8));
|
EnsureBufferSize(m_bitLength + 8 + (bytes.Length * 8));
|
||||||
WriteVariableUInt32((uint)bytes.Length);
|
WriteVariableUInt32((uint)bytes.Length);
|
||||||
Write(bytes);
|
Write(bytes);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user