mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00: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
|
// NetworkLateUpdate called after any Update/FixedUpdate/LateUpdate
|
||||||
// (we add this to the UnityEngine in NetworkLoop)
|
// (we add this to the UnityEngine in NetworkLoop)
|
||||||
static List<NetworkConnectionToClient> connectionsCopy =
|
static readonly List<NetworkConnectionToClient> connectionsCopy = new List<NetworkConnectionToClient>();
|
||||||
new List<NetworkConnectionToClient>();
|
|
||||||
internal static void NetworkLateUpdate()
|
internal static void NetworkLateUpdate()
|
||||||
{
|
{
|
||||||
// only process spawned & connections if active
|
// only process spawned & connections if active
|
||||||
|
Loading…
Reference in New Issue
Block a user