From 65b2ab94fc1524864c85a5e13aeff7b4d1bed0a2 Mon Sep 17 00:00:00 2001 From: Zacharie Day Date: Wed, 2 Sep 2020 19:36:58 -0400 Subject: [PATCH] Fix possible ambiguity in migration code --- HudSwap/PluginConfig.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/HudSwap/PluginConfig.cs b/HudSwap/PluginConfig.cs index 886106d..1cf4d8d 100644 --- a/HudSwap/PluginConfig.cs +++ b/HudSwap/PluginConfig.cs @@ -111,18 +111,18 @@ namespace HudSwap { } if (this.JobLayouts.Count != 0) { - foreach (var jobLayout in JobLayouts) + foreach (var jobLayout in this.JobLayouts) this.HudConditionMatches.Add(new HudConditionMatch() { ClassJob = jobLayout.Key, Status = JobsCombatOnly ? Status.InCombat : default, LayoutId = jobLayout.Value }); - JobLayouts.Clear(); + this.JobLayouts.Clear(); } if (this.StatusLayouts.Count != 0) { - foreach (var statusLayout in StatusLayouts) { + foreach (var statusLayout in this.StatusLayouts) { var match = new HudConditionMatch() {Status = statusLayout.Key, LayoutId = statusLayout.Value}; if (HighPriorityJobs) this.HudConditionMatches.Add(match); @@ -130,7 +130,7 @@ namespace HudSwap { this.HudConditionMatches.Insert(0, match); } - StatusLayouts.Clear(); + this.StatusLayouts.Clear(); } #pragma warning restore 618 }