mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-09 21:59:16 +00:00
20 lines
509 B
C#
20 lines
509 B
C#
using QSB.Patches;
|
|
|
|
namespace QSB.TimeSync.Patches
|
|
{
|
|
internal class TimePatches : QSBPatch
|
|
{
|
|
public override QSBPatchTypes Type => QSBPatchTypes.OnClientConnect;
|
|
|
|
public override void DoPatches()
|
|
{
|
|
Prefix(nameof(PlayerCameraEffectController_OnStartOfTimeLoop));
|
|
Empty("OWTime_Pause");
|
|
Empty("SubmitActionSkipToNextLoop_AdvanceToNextLoop"); // TODO : remove this, remove meditation button instead
|
|
}
|
|
|
|
public static bool PlayerCameraEffectController_OnStartOfTimeLoop()
|
|
=> false;
|
|
}
|
|
}
|