Files
Nitrox/NitroxPatcher/Patches/Persistent/StartScreen_TryToShowDisclaimer_Patch.cs
2025-07-06 00:23:46 +02:00

17 lines
491 B
C#

#if DEBUG
using System.Reflection;
using NitroxModel.Helper;
namespace NitroxPatcher.Patches.Persistent;
internal sealed partial class StartScreen_TryToShowDisclaimer_Patch : NitroxPatch, IPersistentPatch
{
private static readonly MethodInfo TARGET_METHOD = Reflect.Method((StartScreen t) => t.TryToShowDisclaimer());
/// <summary>
/// Speed up startup in development by skipping disclaimer screen.
/// </summary>
public static bool Prefix() => false;
}
#endif