mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
NetworkManager.RegisterClientMessages: use actual type instead of var
This commit is contained in:
parent
b1e7938160
commit
49a5ed7b2b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user