mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 12:08:52 +00:00
remove orb goof cuz thats fixed via the GetAttachedOWRigidbodyPatch
This commit is contained in:
parent
27e05aef5a
commit
4c5b6c7d9d
@ -59,17 +59,9 @@ public class NomaiOrbTransformSync : UnsectoredTransformSync, ILinkedNetworkBeha
|
||||
{
|
||||
base.Uninit();
|
||||
|
||||
// this is null sometimes on here, but not on other similar transforms syncs (like anglers)
|
||||
// idk why, but whatever
|
||||
if (AttachedTransform)
|
||||
{
|
||||
var body = AttachedTransform.GetAttachedOWRigidbody();
|
||||
if (body)
|
||||
{
|
||||
body.OnUnsuspendOWRigidbody -= OnUnsuspend;
|
||||
body.OnSuspendOWRigidbody -= OnSuspend;
|
||||
}
|
||||
}
|
||||
var body = AttachedTransform.GetAttachedOWRigidbody();
|
||||
body.OnUnsuspendOWRigidbody -= OnUnsuspend;
|
||||
body.OnSuspendOWRigidbody -= OnSuspend;
|
||||
}
|
||||
|
||||
private void OnUnsuspend(OWRigidbody suspendedBody) => netIdentity.UpdateAuthQueue(AuthQueueAction.Add);
|
||||
|
Loading…
Reference in New Issue
Block a user