Skip to content

Commit 8a411ae

Browse files
proper channel default in custom message manager
1 parent 60b3930 commit 8a411ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.multiplayer.mlapi/Runtime/Messaging/CustomMessageManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public static void SendUnnamedMessage(List<ulong> clientIds, BitStream stream, b
6666
/// <param name="stream">The message stream containing the data</param>
6767
/// <param name="channel">The channel tos end the data on</param>
6868
/// <param name="security">The security settings to apply to the message</param>
69-
public static void SendUnnamedMessage(ulong clientId, BitStream stream, byte channel, SecuritySendFlags security = SecuritySendFlags.None)
69+
public static void SendUnnamedMessage(ulong clientId, BitStream stream, byte channel = Transport.MLAPI_INTERNAL_CHANNEL, SecuritySendFlags security = SecuritySendFlags.None)
7070
{
7171
InternalMessageSender.Send(clientId, MLAPIConstants.MLAPI_UNNAMED_MESSAGE, channel, stream, security);
7272
}

0 commit comments

Comments
 (0)