mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
make patch methods private
This commit is contained in:
1 parent
8f3a137877
commit
f59e0af7e8
1 file changed
+2
-2
@@ -45,7 +45,7 @@ public static class GameModeOption
|
||||
}
|
||||
[HarmonyPatch(typeof(GameOptionsMenu), nameof(GameOptionsMenu.CreateSettings))]
|
||||
[HarmonyPostfix]
|
||||
public static void CreateSettingsPatch(GameOptionsMenu __instance)
|
||||
private static void CreateSettingsPatch(GameOptionsMenu __instance)
|
||||
{
|
||||
float num = -9.5f;
|
||||
CategoryHeaderMasked categoryHeaderMasked = Object.Instantiate(__instance.categoryHeaderOrigin, Vector3.zero, Quaternion.identity, __instance.settingsContainer);
|
||||
@@ -78,7 +78,7 @@ public static class GameModeOption
|
||||
|
||||
[HarmonyPatch(typeof(GameOptionsMenu), nameof(GameOptionsMenu.ValueChanged))]
|
||||
[HarmonyPrefix]
|
||||
public static bool ValueChanged(GameOptionsMenu __instance, OptionBehaviour option)
|
||||
private static bool ValueChanged(GameOptionsMenu __instance, OptionBehaviour option)
|
||||
{
|
||||
return !OptionBehaviour.Equals(option);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user