Merge pull request #286 from misternebula/fix-quantum-objects

fix quantum authority stuff
This commit is contained in:
_nebula 2021-04-28 16:28:35 +01:00 committed by GitHub
commit 2e5f5f37ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -103,7 +103,7 @@ namespace QSB.QuantumSync.WorldObjects
{
return;
}
if (GetAttachedShapes().Any(x => x.gameObject.activeInHierarchy))
if (GetAttachedShapes().Any(x => x.isActiveAndEnabled))
{
return;
}