1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-15 14:46:29 +09:00

throw exception on bad delivery method passed to SendMessage

This commit is contained in:
lidgren
2010-06-30 21:10:42 +00:00
parent 2aff5de88e
commit deb1a3b00e
2 changed files with 4 additions and 1 deletions

View File

@@ -78,7 +78,7 @@ namespace Lidgren.Network
//LogError("Cannot send message, no server connection!");
return;
}
serverConnection.SendMessage(msg, method);
serverConnection.SendMessage(msg, method, 0);
}
/// <summary>