fix: it is not safe to modify this outside this class

This commit is contained in:
Paul Pacheco 2020-01-01 19:56:56 -06:00
parent 33493a0137
commit bc7a961e4d

View File

@ -17,7 +17,7 @@ namespace Mirror
/// </remarks>
public abstract class NetworkConnection : IDisposable
{
public readonly HashSet<NetworkIdentity> visList = new HashSet<NetworkIdentity>();
readonly HashSet<NetworkIdentity> visList = new HashSet<NetworkIdentity>();
Dictionary<int, NetworkMessageDelegate> messageHandlers;