Hide obsolete warnings (#476)

This commit is contained in:
MichalPetryka 2019-02-27 17:06:13 +01:00 committed by vis2k
parent e7e890988d
commit f746ba8b08

View File

@ -37,8 +37,10 @@ public NetworkConnection(string networkAddress, int networkConnectionId)
{
address = networkAddress;
connectionId = networkConnectionId;
#pragma warning disable 618
isConnected = true;
hostId = 0;
#pragma warning restore 618
}
~NetworkConnection()