17 lines
491 B
C#
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
|