mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-17 01:13:05 +00:00
remove "wake up" prompt
This commit is contained in:
parent
3eb3d8d3d9
commit
d714045a8a
@ -17,6 +17,7 @@ using QSB.QuantumSync.Patches;
|
||||
using QSB.RoastingSync.Patches;
|
||||
using QSB.ShipSync.Patches;
|
||||
using QSB.StatueSync.Patches;
|
||||
using QSB.TimeSync.Patches;
|
||||
using QSB.TranslationSync.Patches;
|
||||
using QSB.Utility;
|
||||
using System;
|
||||
@ -57,7 +58,8 @@ namespace QSB.Patches
|
||||
new PlayerAnimationPatches(),
|
||||
new CharacterAnimationPatches(),
|
||||
new ShipPatches(),
|
||||
new InputPatches()
|
||||
new InputPatches(),
|
||||
new TimePatches()
|
||||
};
|
||||
|
||||
DebugLog.DebugWrite("Patch Manager ready.", MessageType.Success);
|
||||
|
@ -244,6 +244,7 @@
|
||||
<Compile Include="Syncs\ISync.cs" />
|
||||
<Compile Include="Syncs\RigidbodySync\UnparentedBaseRigidbodySync.cs" />
|
||||
<Compile Include="Syncs\RigidbodySync\SectoredRigidbodySync.cs" />
|
||||
<Compile Include="TimeSync\Patches\TimePatches.cs" />
|
||||
<Compile Include="Utility\CustomRelativisticParticleSystem.cs" />
|
||||
<Compile Include="RoastingSync\QSBMarshmallow.cs" />
|
||||
<Compile Include="RoastingSync\Events\EnterExitRoastingEvent.cs" />
|
||||
|
18
QSB/TimeSync/Patches/TimePatches.cs
Normal file
18
QSB/TimeSync/Patches/TimePatches.cs
Normal file
@ -0,0 +1,18 @@
|
||||
using QSB.Patches;
|
||||
|
||||
namespace QSB.TimeSync.Patches
|
||||
{
|
||||
class TimePatches : QSBPatch
|
||||
{
|
||||
public override QSBPatchTypes Type => QSBPatchTypes.OnClientConnect;
|
||||
|
||||
public override void DoPatches()
|
||||
=> QSBCore.HarmonyHelper.AddPrefix<PlayerCameraEffectController>("OnStartOfTimeLoop", typeof(TimePatches), nameof(PlayerCameraEffectController_OnStartOfTimeLoop));
|
||||
|
||||
public override void DoUnpatches()
|
||||
=> QSBCore.HarmonyHelper.Unpatch<PlayerCameraEffectController>("OnStartOfTimeLoop");
|
||||
|
||||
public static bool PlayerCameraEffectController_OnStartOfTimeLoop()
|
||||
=> false;
|
||||
}
|
||||
}
|
@ -74,7 +74,6 @@ namespace QSB.TimeSync
|
||||
|
||||
private void OnSceneLoaded(OWScene scene, bool isInUniverse)
|
||||
{
|
||||
DebugLog.DebugWrite($"ONSCENELOADED");
|
||||
_hasWokenUp = false;
|
||||
if (isInUniverse)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user