1
0
mirror of https://github.com/lidgren/lidgren-network-gen3.git synced 2026-05-17 23:56:30 +09:00

Merge pull request #67 from boonkerz/patch-1

Fix Compile Error
This commit is contained in:
lidgren
2016-03-02 09:26:11 +01:00

View File

@@ -27,9 +27,9 @@ namespace Lidgren.Network
public static IPAddress GetMyAddress(out IPAddress mask) public static IPAddress GetMyAddress(out IPAddress mask)
{ {
mask = null; mask = null;
#if UNITY_ANDROID || UNITY_STANDALONE_OSX || UNITY_STANDALONE_WIN || UNITY_STANDALONE_LINUX || UNITY_IOS || UNITY
try try
{ {
#if UNITY_ANDROID || UNITY_STANDALONE_OSX || UNITY_STANDALONE_WIN || UNITY_STANDALONE_LINUX || UNITY_IOS || UNITY
if (!(UnityEngine.Application.internetReachability == UnityEngine.NetworkReachability.NotReachable)) if (!(UnityEngine.Application.internetReachability == UnityEngine.NetworkReachability.NotReachable))
{ {
return null; return null;