From ae70525fd501dbb3f3e73564fe9084fd828977bb Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 1 Jan 2022 23:15:37 -0800 Subject: [PATCH] Use correct reference for unlocking events Was unlocking the real save file, not the editing-shadow. Oops --- PKHeX.WinForms/Subforms/Save Editors/Gen8/SAV_Misc8b.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.WinForms/Subforms/Save Editors/Gen8/SAV_Misc8b.cs b/PKHeX.WinForms/Subforms/Save Editors/Gen8/SAV_Misc8b.cs index bc5cd76a7..4e3c6e2eb 100644 --- a/PKHeX.WinForms/Subforms/Save Editors/Gen8/SAV_Misc8b.cs +++ b/PKHeX.WinForms/Subforms/Save Editors/Gen8/SAV_Misc8b.cs @@ -14,7 +14,7 @@ public SAV_Misc8b(SAV8BS sav) InitializeComponent(); WinFormsUtil.TranslateInterface(this, Main.CurrentLanguage); SAV = (SAV8BS)(Origin = sav).Clone(); - Unlocker = new EventUnlocker8b(sav); + Unlocker = new EventUnlocker8b(SAV); ReadMain(); }