mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-14 18:17:27 +08:00
[+] Add option
This commit is contained in:
@@ -19,7 +19,7 @@ namespace AquaMai
|
||||
|
||||
public override void OnInitializeMelon()
|
||||
{
|
||||
MelonLogger.Msg("OnApplicationStart");
|
||||
MelonLogger.Msg("Loading mod settings...");
|
||||
|
||||
// Read AquaMai.yaml to load settings
|
||||
var yaml = new YamlDotNet.Serialization.Deserializer();
|
||||
@@ -27,9 +27,17 @@ namespace AquaMai
|
||||
|
||||
if (AppConfig.UX.SkipWarningScreen)
|
||||
{
|
||||
MelonLogger.Msg("Patching CutsceneSkipping");
|
||||
MelonLogger.Msg("> Patching CutsceneSkipping");
|
||||
HarmonyLib.Harmony.CreateAndPatchAll(typeof(SkipWarningScreen));
|
||||
}
|
||||
|
||||
if (AppConfig.UX.SinglePlayer)
|
||||
{
|
||||
MelonLogger.Msg("> Patching SinglePlayer");
|
||||
HarmonyLib.Harmony.CreateAndPatchAll(typeof(SinglePlayer));
|
||||
}
|
||||
|
||||
MelonLogger.Msg("Loaded!");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user