Use explicit type

This commit is contained in:
Paul Pacheco 2019-08-11 12:56:39 -07:00
parent 63e958e8a8
commit bbe4ac8c19

View File

@ -762,7 +762,7 @@ internal void OnDeserializeAllSafely(NetworkReader reader, bool initialState)
// read component dirty mask
ulong dirtyComponentsMask = reader.ReadPackedUInt64();
var components = NetworkBehaviours;
NetworkBehaviour[] components = NetworkBehaviours;
// loop through all components and deserialize the dirty ones
for (int i = 0; i < components.Length; ++i)
{