17 lines
330 B
C#
17 lines
330 B
C#
|
using HarmonyLib;
|
|||
|
using System;
|
|||
|
using MIU;
|
|||
|
|
|||
|
namespace ConsoleUnlocker.Patches
|
|||
|
{
|
|||
|
[HarmonyPatch(typeof(PlatformSetup), "GetDevIDs")]
|
|||
|
internal class PlatformSetupPatches
|
|||
|
{
|
|||
|
static void Postfix()
|
|||
|
{
|
|||
|
GlobalContext.Invoke<DevModeActivated>(Array.Empty<object>());
|
|||
|
MIU.Console.Instance.gameObject.SetActive(true);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|