mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
Merge remote-tracking branch 'origin/game-modes' into game-modes
# Conflicts: # MiraAPI/Patches/Options/RoleSettingMenuPatches.cs
This commit is contained in:
commit
3eb5bfae01
3 files changed
+3
-3
No files matched your search
@@ -75,7 +75,7 @@ public static class GameModeOption
|
||||
[HarmonyPostfix]
|
||||
private static void CreateSettingsPatch(GameOptionsMenu __instance)
|
||||
{
|
||||
if (GameSettingMenuPatches.SelectedModIdx != 0 || GameManager.Instance.IsHideAndSeek() || CustomGameModeManager.ActiveMode == null)
|
||||
if (MenuState.Instance.CurrentModIdx != 0 || GameManager.Instance.IsHideAndSeek() || CustomGameModeManager.ActiveMode == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ public partial class MiraApiPlugin : BasePlugin, IMiraPlugin
|
||||
public string OptionsTitleText => "MiraAPI";
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool ShowInSettings => false;
|
||||
public bool DisplayOnOptionsMenu => false;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the current device is running Starlight (on mobile).
|
||||
|
||||
@@ -23,7 +23,7 @@ using Object = UnityEngine.Object;
|
||||
namespace MiraAPI.Patches.Options;
|
||||
|
||||
[HarmonyPatch(typeof(RolesSettingsMenu))]
|
||||
internal static class RoleSettingMenuPatches
|
||||
public static class RoleSettingMenuPatches
|
||||
{
|
||||
private static Dictionary<RoleOptionsGroup, bool> RoleGroupHidden { get; set; } = [];
|
||||
|
||||
|
||||
Reference in new issue
Block a user