Skip to content

Commit

Permalink
Fixed a hat patch issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Anusien committed Jan 21, 2022
1 parent 30d368d commit 1da7eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Patches/CustomHats/CustomHatPatch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ namespace TownOfUs.Patches.CustomHats
[HarmonyPatch(typeof(HatsTab), nameof(HatsTab.OnEnable))]
public static class HatsTab_OnEnable
{
public static bool Postfix(HatsTab __instance)
public static bool Prefix(HatsTab __instance)
{
var allHats = DestroyableSingleton<HatManager>.Instance.GetUnlockedHats();
var hatGroups = new SortedList<string, List<HatBehaviour>>(
Expand Down

0 comments on commit 1da7eca

Please sign in to comment.