From bd40eb740a365d2f55ba861a8fc2792300a09698 Mon Sep 17 00:00:00 2001 From: A-c0rN Date: Wed, 14 May 2025 09:23:08 -0500 Subject: [PATCH] Update config to attempt proper array init - I have NO idea what I am doing - Safe to say, don't use this. --- MistWX-i2Me/Config.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MistWX-i2Me/Config.cs b/MistWX-i2Me/Config.cs index 639e476..916c203 100644 --- a/MistWX-i2Me/Config.cs +++ b/MistWX-i2Me/Config.cs @@ -77,7 +77,7 @@ public class Config public class LocConfig { [XmlElement] public bool UseNationalLocations { get; set; } = false; - [XmlElement] public string[] NationalLocations { get; set; } = { + [XmlArray("Location")] public string[] NationalLocations { get; set; } = { "USNM0004", "USGA0028", "USMD0018", "USME0017", "USMT0031", "USAL0054", "USND0037", "USID0025", "USMA0046", "USNY0081", "USVT0033", "USNC0121", "USIL0225", "USOH0188", "USOH0195", "USTX0327", "USCO0105", "USIA0231", "USMI0229", "USAZ0068", "USSC0140", "USCT0094", "USTX0617", "USIN0305",