mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Simplified code a bit, and also removed allocation. (#453)
This commit is contained in:
parent
58b7126f0b
commit
c931d03ae0
@ -29,7 +29,7 @@ internal static void Shutdown()
|
|||||||
{
|
{
|
||||||
NetworkIdentity.spawned.Clear();
|
NetworkIdentity.spawned.Clear();
|
||||||
ClearSpawners();
|
ClearSpawners();
|
||||||
s_PendingOwnerNetIds = new List<uint>();
|
s_PendingOwnerNetIds.Clear();
|
||||||
spawnableObjects = null;
|
spawnableObjects = null;
|
||||||
readyConnection = null;
|
readyConnection = null;
|
||||||
ready = false;
|
ready = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user