diff --git a/UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LightReflectiveMirrorTransport.cs b/UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LightReflectiveMirrorTransport.cs index a939270..2fd399c 100644 --- a/UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LightReflectiveMirrorTransport.cs +++ b/UnityProject/Assets/Mirror/Runtime/Transport/LRM/LRMTransport/LightReflectiveMirrorTransport.cs @@ -263,7 +263,7 @@ namespace LightReflectiveMirror break; case OpCodes.RequestNATConnection: // Called when the LRM node would like us to establish a NAT puncher connection. Its safe to ignore if NAT punch is disabled. - if (GetLocalIp() != null && _directConnectModule != null) + if (GetLocalIp() != null && _directConnectModule != null && useNATPunch) { byte[] initalData = new byte[150]; int sendPos = 0;