syntax: avoid hiding property

This commit is contained in:
vis2k 2021-03-09 14:59:15 +08:00
parent 8bcc8d29ef
commit fc6ada4ab9

View File

@ -108,12 +108,12 @@ protected static bool ValidatePacketSize(ArraySegment<byte> segment, int channel
public override string ToString() => $"connection({connectionId})";
internal void AddToObserving(NetworkIdentity identity)
internal void AddToObserving(NetworkIdentity netIdentity)
{
observing.Add(identity);
observing.Add(netIdentity);
// spawn identity for this conn
NetworkServer.ShowForConnection(identity, this);
NetworkServer.ShowForConnection(netIdentity, this);
}
internal void RemoveFromObserving(NetworkIdentity identity, bool isDestroyed)