NetworkManager consistent NetworkIdentity naming

This commit is contained in:
vis2k 2018-12-17 22:49:53 +01:00
parent 935b2afc9a
commit 7ad844cab7

View File

@ -351,9 +351,9 @@ public virtual void ServerChangeScene(string newSceneName)
void CleanupNetworkIdentities()
{
foreach (NetworkIdentity netId in Resources.FindObjectsOfTypeAll<NetworkIdentity>())
foreach (NetworkIdentity identity in Resources.FindObjectsOfTypeAll<NetworkIdentity>())
{
netId.MarkForReset();
identity.MarkForReset();
}
}