mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-04 02:47:22 +00:00
19 lines
586 B
C#
19 lines
586 B
C#
using Cysharp.Threading.Tasks;
|
|
using System.Threading;
|
|
|
|
namespace QSB.WorldSync;
|
|
|
|
internal class MiscManager : WorldObjectManager
|
|
{
|
|
public override WorldObjectScene WorldObjectScene => WorldObjectScene.Both;
|
|
public override bool DlcOnly => false;
|
|
|
|
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
|
|
{
|
|
await UniTask.WaitUntil(() => LateInitializerManager.isDoneInitializing, cancellationToken: ct);
|
|
|
|
// todo: exclude probe and probably other things
|
|
QSBWorldSync.Init<QSBOWRigidbody, OWRigidbody>(typeof(PlayerBody), typeof(ShipBody));
|
|
}
|
|
}
|