diff --git a/QSB/Syncs/SyncBase.cs b/QSB/Syncs/SyncBase.cs index 32fed9e6..3ed5b566 100644 --- a/QSB/Syncs/SyncBase.cs +++ b/QSB/Syncs/SyncBase.cs @@ -146,12 +146,11 @@ namespace QSB.Syncs public override void OnStopClient() { + QSBSceneManager.OnSceneLoaded -= OnSceneLoaded; if (IsInitialized) { Uninit(); } - - QSBSceneManager.OnSceneLoaded -= OnSceneLoaded; } private void OnSceneLoaded(OWScene oldScene, OWScene newScene, bool isInUniverse) diff --git a/QSB/WorldSync/QSBWorldSync.cs b/QSB/WorldSync/QSBWorldSync.cs index b563c939..2d8facaa 100644 --- a/QSB/WorldSync/QSBWorldSync.cs +++ b/QSB/WorldSync/QSBWorldSync.cs @@ -78,15 +78,12 @@ namespace QSB.WorldSync public static void RemoveWorldObjects() { - if (!AllObjectsReady) - { - return; - } - GameReset(); AllObjectsAdded = false; AllObjectsReady = false; + _numManagersReadying = 0; + _numObjectsReadying = 0; foreach (var item in WorldObjects) { diff --git a/QSB/debugsettings.json b/QSB/debugsettings.json index 13b8ab49..0029f5cb 100644 --- a/QSB/debugsettings.json +++ b/QSB/debugsettings.json @@ -1,10 +1,10 @@ { - "useKcpTransport": false, + "useKcpTransport": true, "overrideAppId": -1, "debugMode": true, - "drawLines": false, - "showQuantumVisibilityObjects": false, - "showDebugLabels": false, + "drawLines": true, + "showQuantumVisibilityObjects": true, + "showDebugLabels": true, "avoidTimeSync": false, "skipTitleScreen": true, "greySkybox": true