NetworkManager.RegisterClientMessages: use actual type instead of var

This commit is contained in:
vis2k 2018-12-30 23:44:05 +01:00
parent b1e7938160
commit 49a5ed7b2b

View File

@ -224,7 +224,7 @@ internal void RegisterClientMessages(NetworkClient client)
}
for (int i = 0; i < spawnPrefabs.Count; i++)
{
var prefab = spawnPrefabs[i];
GameObject prefab = spawnPrefabs[i];
if (prefab != null)
{
ClientScene.RegisterPrefab(prefab);