mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-12 13:13:32 +00:00
skip null orbs when checking ownership
This commit is contained in:
parent
7dd7967834
commit
5ffaccc4dd
@ -234,6 +234,11 @@ namespace QSB
|
||||
|
||||
foreach (var item in NomaiOrbTransformSync.OrbTransformSyncs)
|
||||
{
|
||||
if (item is null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
var identity = item.GetComponent<QNetworkIdentity>();
|
||||
if (identity.ClientAuthorityOwner == connection)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user