diff --git a/QSB/Patches/QSBPatchManager.cs b/QSB/Patches/QSBPatchManager.cs index fa30e95a..f558f71c 100644 --- a/QSB/Patches/QSBPatchManager.cs +++ b/QSB/Patches/QSBPatchManager.cs @@ -37,7 +37,7 @@ namespace QSB.Patches public static void DoPatchType(QSBPatchTypes type) { - OnPatchType(type); + OnPatchType?.Invoke(type); DebugLog.DebugWrite($"Patch block {Enum.GetName(typeof(QSBPatchTypes), type)}", MessageType.Info); foreach (var patch in _patchList.Where(x => x.Type == type)) { diff --git a/QSB/QSB.cs b/QSB/QSB.cs index 9a80dbe0..cb3a7682 100644 --- a/QSB/QSB.cs +++ b/QSB/QSB.cs @@ -1,5 +1,6 @@ using OWML.Common; using OWML.ModHelper; +using OWML.ModHelper.Events; using QSB.ConversationSync; using QSB.ElevatorSync; using QSB.GeyserSync; @@ -25,6 +26,9 @@ namespace QSB private void Awake() { Application.runInBackground = true; + + var instance = TextTranslation.Get().GetValue("m_table"); + instance.theUITable[(int)UITextType.PleaseUseController] = "Outer Wilds is best experienced with fellow travellers..."; } private void Start() diff --git a/QSB/SectorSync/QSBSectorManager.cs b/QSB/SectorSync/QSBSectorManager.cs index 68565ee7..b7263c97 100644 --- a/QSB/SectorSync/QSBSectorManager.cs +++ b/QSB/SectorSync/QSBSectorManager.cs @@ -26,6 +26,10 @@ namespace QSB.SectorSync public void RebuildSectors() { + if (!QSBSceneManager.IsInUniverse) + { + return; + } DebugLog.DebugWrite("Rebuilding sectors...", MessageType.Warning); WorldRegistry.RemoveObjects(); var sectors = Resources.FindObjectsOfTypeAll().ToList();