mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-17 01:13:05 +00:00
fix patch, change splash text
This commit is contained in:
parent
8b68f8d85a
commit
81a8c03921
@ -37,7 +37,7 @@ namespace QSB.Patches
|
|||||||
|
|
||||||
public static void DoPatchType(QSBPatchTypes type)
|
public static void DoPatchType(QSBPatchTypes type)
|
||||||
{
|
{
|
||||||
OnPatchType(type);
|
OnPatchType?.Invoke(type);
|
||||||
DebugLog.DebugWrite($"Patch block {Enum.GetName(typeof(QSBPatchTypes), type)}", MessageType.Info);
|
DebugLog.DebugWrite($"Patch block {Enum.GetName(typeof(QSBPatchTypes), type)}", MessageType.Info);
|
||||||
foreach (var patch in _patchList.Where(x => x.Type == type))
|
foreach (var patch in _patchList.Where(x => x.Type == type))
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
using OWML.Common;
|
using OWML.Common;
|
||||||
using OWML.ModHelper;
|
using OWML.ModHelper;
|
||||||
|
using OWML.ModHelper.Events;
|
||||||
using QSB.ConversationSync;
|
using QSB.ConversationSync;
|
||||||
using QSB.ElevatorSync;
|
using QSB.ElevatorSync;
|
||||||
using QSB.GeyserSync;
|
using QSB.GeyserSync;
|
||||||
@ -25,6 +26,9 @@ namespace QSB
|
|||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
Application.runInBackground = true;
|
Application.runInBackground = true;
|
||||||
|
|
||||||
|
var instance = TextTranslation.Get().GetValue<TextTranslation.TranslationTable>("m_table");
|
||||||
|
instance.theUITable[(int)UITextType.PleaseUseController] = "<color=orange>Outer Wilds</color> is best experienced with fellow travellers...";
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Start()
|
private void Start()
|
||||||
|
@ -26,6 +26,10 @@ namespace QSB.SectorSync
|
|||||||
|
|
||||||
public void RebuildSectors()
|
public void RebuildSectors()
|
||||||
{
|
{
|
||||||
|
if (!QSBSceneManager.IsInUniverse)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
DebugLog.DebugWrite("Rebuilding sectors...", MessageType.Warning);
|
DebugLog.DebugWrite("Rebuilding sectors...", MessageType.Warning);
|
||||||
WorldRegistry.RemoveObjects<QSBSector>();
|
WorldRegistry.RemoveObjects<QSBSector>();
|
||||||
var sectors = Resources.FindObjectsOfTypeAll<Sector>().ToList();
|
var sectors = Resources.FindObjectsOfTypeAll<Sector>().ToList();
|
||||||
|
Loading…
Reference in New Issue
Block a user