mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-12 22:14:37 +00:00
raft what moment
This commit is contained in:
parent
e29fb169a5
commit
4aa8c2bd82
@ -1,6 +1,8 @@
|
||||
using Cysharp.Threading.Tasks;
|
||||
using QSB.EchoesOfTheEye.RaftSync.WorldObjects;
|
||||
using QSB.Utility;
|
||||
using QSB.WorldSync;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
|
||||
namespace QSB.EchoesOfTheEye.RaftSync;
|
||||
@ -12,7 +14,10 @@ public class RaftManager : WorldObjectManager
|
||||
|
||||
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
|
||||
{
|
||||
QSBWorldSync.Init<QSBRaft, RaftController>();
|
||||
// NH sometimes makes the body (but not the raft) null. what
|
||||
QSBWorldSync.Init<QSBRaft, RaftController>(QSBWorldSync.GetUnityObjects<RaftController>()
|
||||
.Where(x => x.GetAttachedOWRigidbody())
|
||||
.SortDeterministic());
|
||||
QSBWorldSync.Init<QSBRaftDock, RaftDock>();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user