miuu-console-unlocker/Patches/PlatformSetupPatches.cs

17 lines
330 B
C#
Raw Normal View History

2023-09-07 22:51:16 -04:00
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);
}
}
}