Skip to content

Commit 1b1417b

Browse files
fix
Try this MessageDelivery fix for the codec test one more time.
1 parent ed2300f commit 1b1417b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.netcode.gameobjects/Runtime/Messaging/MessageDelivery.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private static void OnEnterPlayMode()
5151
internal static NetworkDelivery GetDelivery(Type type)
5252
{
5353
// Return the default if not registered or null
54-
if (type == null || !s_MessageToMessageType.ContainsKey(type))
54+
if (type == null || s_SkipMessageTypes.Contains(s_MessageToMessageType[type]))
5555
{
5656
return NetworkDelivery.ReliableFragmentedSequenced;
5757
}

0 commit comments

Comments
 (0)