From c03afdefe71252a60a52bc54bad30ff669663a02 Mon Sep 17 00:00:00 2001 From: Liza Carvelli Date: Fri, 3 Jan 2025 11:30:51 +0100 Subject: [PATCH] Code clean up --- Directory.Build.targets | 2 +- .../JournalComponents/AlliedSocietyJournalComponent.cs | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Directory.Build.targets b/Directory.Build.targets index c81f1e90..9c7a8c24 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,5 +1,5 @@ - 4.12 + 4.13 diff --git a/Questionable/Windows/JournalComponents/AlliedSocietyJournalComponent.cs b/Questionable/Windows/JournalComponents/AlliedSocietyJournalComponent.cs index c4886f58..99582c24 100644 --- a/Questionable/Windows/JournalComponents/AlliedSocietyJournalComponent.cs +++ b/Questionable/Windows/JournalComponents/AlliedSocietyJournalComponent.cs @@ -17,6 +17,9 @@ internal sealed class AlliedSocietyJournalComponent private static readonly string[] RankNames = ["Neutral", "Recognized", "Friendly", "Trusted", "Respected", "Honored", "Sworn", "Allied"]; +#if DEBUG + private readonly QuestFunctions _questFunctions; +#endif private readonly AlliedSocietyQuestFunctions _alliedSocietyQuestFunctions; private readonly QuestData _questData; private readonly QuestRegistry _questRegistry; @@ -25,6 +28,9 @@ internal sealed class AlliedSocietyJournalComponent private readonly UiUtils _uiUtils; public AlliedSocietyJournalComponent( +#if DEBUG + QuestFunctions questFunctions, +#endif AlliedSocietyQuestFunctions alliedSocietyQuestFunctions, QuestData questData, QuestRegistry questRegistry, @@ -32,6 +38,9 @@ internal sealed class AlliedSocietyJournalComponent QuestTooltipComponent questTooltipComponent, UiUtils uiUtils) { +#if DEBUG + _questFunctions = questFunctions; +#endif _alliedSocietyQuestFunctions = alliedSocietyQuestFunctions; _questData = questData; _questRegistry = questRegistry;