mirror of
https://gitea.tendokyu.moe/beerpsi/Rizu.git
synced 2024-11-27 17:00:51 +01:00
22 lines
528 B
C#
22 lines
528 B
C#
// ReSharper disable CheckNamespace
|
|
// ReSharper disable InconsistentNaming
|
|
|
|
using Rizu.Core;
|
|
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" };
|
|
go.AddComponent<Rizu.MonoMod.RizuMonoBehaviour>();
|
|
|
|
Exporter.Instance.LoadConfig();
|
|
|
|
orig_Execute_WaitAmDaemonReady();
|
|
}
|
|
} |