mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-02-21 00:39:53 +00:00
nh makes model ship null
This commit is contained in:
parent
887da7fc49
commit
e1b2670fa2
@ -37,6 +37,13 @@ internal class ModelShipManager : WorldObjectManager
|
||||
|
||||
public override async UniTask BuildWorldObjects(OWScene scene, CancellationToken ct)
|
||||
{
|
||||
// NH can remove this
|
||||
var modelShip = QSBWorldSync.GetUnityObject<RemoteFlightConsole>()._modelShipBody;
|
||||
if (!modelShip)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (QSBCore.IsHost)
|
||||
{
|
||||
Instantiate(QSBNetworkManager.singleton.ModelShipPrefab).SpawnWithServerAuthority();
|
||||
|
@ -51,7 +51,7 @@ public static class QSBWorldSync
|
||||
|
||||
// let NH do things first :)
|
||||
// i think NH only takes like 3 frames to do stuff so this should be okay
|
||||
await UniTask.DelayFrame(10, cancellationToken: _cts.Token);
|
||||
await UniTask.DelayFrame(1000, cancellationToken: _cts.Token);
|
||||
|
||||
GameInit();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user