From 6d32f281e5d826fb7777580420a1eb301ca4baea Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Tue, 3 Sep 2024 11:36:17 -0700 Subject: fix: frontline record trigger calling wrong function --- Malmstone/Addons/PvPMatchAddon.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Malmstone/Addons/PvPMatchAddon.cs') diff --git a/Malmstone/Addons/PvPMatchAddon.cs b/Malmstone/Addons/PvPMatchAddon.cs index 94d35b0..bf5cc7d 100644 --- a/Malmstone/Addons/PvPMatchAddon.cs +++ b/Malmstone/Addons/PvPMatchAddon.cs @@ -32,20 +32,20 @@ namespace Malmstone.Addons Plugin.AddonLifeCycle.UnregisterListener(OnCrystallineConflictRecordTrigger); } - public void EnableRivalWingsPostMatch() - { - Plugin.AddonLifeCycle.RegisterListener(AddonEvent.PostSetup, "ManeuversRecord", OnRivalWingsRecordTrigger); - } public void EnableFrontlinePostMatch() { - Plugin.AddonLifeCycle.RegisterListener(AddonEvent.PostSetup, "FrontlineRecord", OnRivalWingsRecordTrigger); + Plugin.AddonLifeCycle.RegisterListener(AddonEvent.PostSetup, "FrontlineRecord", OnFrontlineRecordTrigger); } public void DisableFrontlinePostMatch() { - Plugin.AddonLifeCycle.UnregisterListener(AddonEvent.PostSetup, "FrontlineRecord", OnRivalWingsRecordTrigger); + Plugin.AddonLifeCycle.UnregisterListener(AddonEvent.PostSetup, "FrontlineRecord", OnFrontlineRecordTrigger); } + public void EnableRivalWingsPostMatch() + { + Plugin.AddonLifeCycle.RegisterListener(AddonEvent.PostSetup, "ManeuversRecord", OnRivalWingsRecordTrigger); + } public void DisableRivalWingsPostMatch() { Plugin.AddonLifeCycle.UnregisterListener(OnRivalWingsRecordTrigger); -- cgit v1.2.3