This commit is contained in:
JohnCorby 2021-12-02 02:37:13 -08:00
parent 1438201874
commit 436b3ed9a0
3 changed files with 3 additions and 2 deletions

View File

@ -9,7 +9,7 @@ namespace QSB.Anglerfish.TransformSync
{
public class AnglerTransformSync : UnsectoredRigidbodySync
{
public override bool IsReady => WorldObjectManager.AllAdded;
public override bool IsReady => QSBCore.WorldObjectsAdded;
public override bool UseInterpolation => false;
private QSBAngler _qsbAngler;

View File

@ -11,7 +11,7 @@ namespace QSB.JellyfishSync.TransformSync
{
public class JellyfishTransformSync : UnsectoredRigidbodySync
{
public override bool IsReady => WorldObjectManager.AllAdded;
public override bool IsReady => QSBCore.WorldObjectsAdded;
public override bool UseInterpolation => false;
private QSBJellyfish _qsbJellyfish;

View File

@ -72,6 +72,7 @@ namespace QSB
public static AssetBundle InstrumentAssetBundle { get; private set; }
public static AssetBundle ConversationAssetBundle { get; private set; }
public static AssetBundle DebugAssetBundle { get; private set; }
public static bool WorldObjectsAdded => WorldObjectManager.AllAdded && IsInMultiplayer && PlayerTransformSync.LocalInstance != null;
public static bool WorldObjectsReady => WorldObjectManager.AllReady && IsInMultiplayer && PlayerTransformSync.LocalInstance != null;
public static bool IsHost => QNetworkServer.active;
public static bool IsInMultiplayer => QNetworkManager.singleton.isNetworkActive;