Used as extension method

This commit is contained in:
David Higueros committed 2026-11-06 13:18:16 -07:00
1 parent 6fce7b20b3
commit 6a25793599
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ public static class MiraEventManager
public static bool InvokeEvent<T>(this T eventInstance)
where T : MiraEvent
{
return InvokeEvent(eventInstance, typeof(T));
return eventInstance.InvokeEvent(typeof(T));
}
/// <summary>
+1 -1
View File
@@ -107,7 +107,7 @@ internal static class MeetingHudPatches
public static void OnDestroyPatch(MeetingHud __instance)
{
MeetingVoteAreaVisibility.RestoreAll();
MiraEventManager.InvokeEvent(new EndMeetingEvent(__instance));
new EndMeetingEvent(__instance).InvokeEvent();
}
[HarmonyPostfix]