2024-05-21 20:29:18 +00:00
|
|
|
|
// ReSharper disable CheckNamespace
|
|
|
|
|
// ReSharper disable InconsistentNaming
|
|
|
|
|
|
2024-05-23 09:13:19 +00:00
|
|
|
|
using Rizu.Core;
|
2024-05-21 20:29:18 +00:00
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace Manager;
|
|
|
|
|
|
|
|
|
|
public class patch_AmManager : AmManager
|
|
|
|
|
{
|
|
|
|
|
private extern void orig_Execute_WaitAmDaemonReady();
|
|
|
|
|
|
|
|
|
|
private void Execute_WaitAmDaemonReady()
|
|
|
|
|
{
|
|
|
|
|
var go = new GameObject { name = "Rizu" };
|
2024-05-23 09:13:19 +00:00
|
|
|
|
go.AddComponent<Rizu.MonoMod.RizuMonoBehaviour>();
|
|
|
|
|
|
|
|
|
|
Exporter.Instance.LoadConfig();
|
2024-05-21 20:29:18 +00:00
|
|
|
|
|
|
|
|
|
orig_Execute_WaitAmDaemonReady();
|
|
|
|
|
}
|
|
|
|
|
}
|