1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 06:36:30 +09:00

Fixed again hehe

This commit is contained in:
lidgren
2010-08-07 07:48:18 +00:00
parent ffe86262c6
commit 49d2e3e8f8

View File

@@ -518,7 +518,7 @@ namespace Lidgren.Network
}
byte[] bytes = Encoding.UTF8.GetBytes(source);
EnsureBufferSize(m_bitLength + 1 + (bytes.Length * 8));
EnsureBufferSize(m_bitLength + 8 + (bytes.Length * 8));
WriteVariableUInt32((uint)bytes.Length);
Write(bytes);
}