mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
Syntax. made list readonly (code smell)
This commit is contained in:
parent
c8156292a5
commit
e09b313571
@ -1411,8 +1411,8 @@ static Serialization GetEntitySerialization(NetworkIdentity identity)
|
||||
|
||||
// NetworkLateUpdate called after any Update/FixedUpdate/LateUpdate
|
||||
// (we add this to the UnityEngine in NetworkLoop)
|
||||
static List<NetworkConnectionToClient> connectionsCopy =
|
||||
new List<NetworkConnectionToClient>();
|
||||
static readonly List<NetworkConnectionToClient> connectionsCopy = new List<NetworkConnectionToClient>();
|
||||
|
||||
internal static void NetworkLateUpdate()
|
||||
{
|
||||
// only process spawned & connections if active
|
||||
|
Loading…
Reference in New Issue
Block a user