Simplified code a bit, and also removed allocation. (#453)

This commit is contained in:
rodolphito 2019-02-26 06:21:43 -08:00 committed by Paul Pacheco
parent 58b7126f0b
commit c931d03ae0

View File

@ -29,7 +29,7 @@ internal static void Shutdown()
{
NetworkIdentity.spawned.Clear();
ClearSpawners();
s_PendingOwnerNetIds = new List<uint>();
s_PendingOwnerNetIds.Clear();
spawnableObjects = null;
readyConnection = null;
ready = false;