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

Minor tweaks

This commit is contained in:
lidgren
2012-09-25 07:16:59 +00:00
parent 47f8267e26
commit 03b90d348e
2 changed files with 3 additions and 3 deletions

View File

@@ -149,7 +149,7 @@ namespace Lidgren.Network
if (onLibraryThread)
m_peer.VerifyNetworkThread();
NetOutgoingMessage om = m_peer.CreateMessage(m_peerConfiguration.AppIdentifier.Length + 13);
NetOutgoingMessage om = m_peer.CreateMessage(m_peerConfiguration.AppIdentifier.Length + 13 + (m_localHailMessage == null ? 0 : m_localHailMessage.LengthBytes));
om.m_messageType = NetMessageType.ConnectResponse;
om.Write(m_peerConfiguration.AppIdentifier);
om.Write(m_peer.m_uniqueIdentifier);
@@ -250,7 +250,7 @@ namespace Lidgren.Network
/// </summary>
public void Deny()
{
Deny("");
Deny(string.Empty);
}
/// <summary>