mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
NetworkConnection.DestroyOwnedObjects clears the hashset afterwards
This commit is contained in:
parent
43030ac917
commit
a2173d37db
@ -383,6 +383,9 @@ internal void DestroyOwnedObjects()
|
||||
NetworkServer.Destroy(netIdentity.gameObject);
|
||||
}
|
||||
}
|
||||
|
||||
// clear the hashset because we destroyed them all
|
||||
clientOwnedObjects.Clear();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user