mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 09:39:56 +00:00
oh yeah i can do it here too
This commit is contained in:
parent
86684b10ad
commit
697f7d54a1
@ -63,8 +63,8 @@ namespace QSB.MeteorSync.Events
|
||||
|
||||
if (msg.Integrity <= 0 && qsbFragment.DetachableFragment != null)
|
||||
{
|
||||
// the detach is delayed, so wait even more until that happens lol
|
||||
QSBCore.UnityEvents.FireInNUpdates(() =>
|
||||
// the detach is delayed, so wait until that happens
|
||||
QSBCore.UnityEvents.RunWhen(() => qsbFragment.DetachableFragment._isDetached,() =>
|
||||
{
|
||||
if (msg.IsThruWhiteHole && !qsbFragment.IsThruWhiteHole)
|
||||
{
|
||||
@ -91,7 +91,7 @@ namespace QSB.MeteorSync.Events
|
||||
body.MoveToRotation(targetRot);
|
||||
SetVelocity(body, targetVel);
|
||||
body.SetAngularVelocity(targetAngVel);
|
||||
}, 20);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user