From ea6a0fdb7052f451a0b091bd21bddccb08d332bd Mon Sep 17 00:00:00 2001 From: Doriel Rivalet <100863878+DorielRivalet@users.noreply.github.com> Date: Sat, 27 Jan 2024 01:58:07 -0300 Subject: [PATCH] fix: personal bests by attempts graph closes DorielRivalet/mhfz-overlay#245 --- MHFZ_Overlay/Views/Windows/MainWindow.xaml.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MHFZ_Overlay/Views/Windows/MainWindow.xaml.cs b/MHFZ_Overlay/Views/Windows/MainWindow.xaml.cs index e6ce84f3..db1eebfc 100644 --- a/MHFZ_Overlay/Views/Windows/MainWindow.xaml.cs +++ b/MHFZ_Overlay/Views/Windows/MainWindow.xaml.cs @@ -1971,7 +1971,7 @@ private Task CheckQuestStateForDatabaseLogging() this.DataLoader.Model.LoadedItemsAtQuestStart = false; if (s.EnableQuestLogging) { - DatabaseManagerInstance.InsertQuestData(this.DataLoader, (int)DatabaseManagerInstance.GetQuestAttempts(this.DataLoader.Model.QuestID(), this.DataLoader.Model.WeaponType(), this.OverlayModeWatermarkTextBlock.Text)); + DatabaseManagerInstance.InsertQuestData(this.DataLoader, (int)DatabaseManagerInstance.GetQuestAttempts(this.DataLoader.Model.QuestID(), this.DataLoader.Model.WeaponType(), this.DataLoader.Model.GetOverlayModeForStorage())); } }