Files
MiraAPI/MiraAPI/Patches/GameModes/CreateOptionsPatch.cs
T
2026-09-18 12:51:30 -04:00

20 lines
479 B
C#

using HarmonyLib;
using GameModesEnum = AmongUs.GameOptions.GameModes;
namespace MiraAPI.Patches.GameModes;
[HarmonyPatch(typeof(CreateOptionsPicker), nameof(CreateOptionsPicker.SetGameMode))]
internal static class CreateOptionsPatch
{
public static bool Prefix(CreateOptionsPicker __instance, GameModesEnum mode)
{
if (mode <= GameModesEnum.SeekFools)
{
return true;
}
// TODO: finish this
return false;
}
}