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
Various ArgumentNullExceptions added
This commit is contained in:
@@ -620,6 +620,9 @@ namespace Lidgren.Network
|
||||
|
||||
public bool SendMessage(NetOutgoingMessage msg, NetDeliveryMethod method, int sequenceChannel)
|
||||
{
|
||||
if (msg == null)
|
||||
throw new ArgumentNullException("msg");
|
||||
|
||||
NetException.Assert(msg.m_libType == NetMessageLibraryType.Error, "Use SendLibrary() instead!");
|
||||
|
||||
if (msg.IsSent)
|
||||
|
||||
Reference in New Issue
Block a user