From 787b54b8da4efc49467b55b9e9fd3503d885e702 Mon Sep 17 00:00:00 2001 From: js6pak Date: Sat, 2 Mar 2024 12:39:49 +0100 Subject: [PATCH] Make ModList#Current an array to preserve order --- Reactor/Networking/ModList.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Reactor/Networking/ModList.cs b/Reactor/Networking/ModList.cs index 73d5932..005f68c 100644 --- a/Reactor/Networking/ModList.cs +++ b/Reactor/Networking/ModList.cs @@ -101,7 +101,7 @@ public static class ModList .Select(pluginInfo => GetById(pluginInfo.Metadata.GUID)) .OrderByDescending(x => x.Id == ReactorPlugin.Id) .ThenBy(x => x.Id, StringComparer.Ordinal) - .ToHashSet(); + .ToArray(); _modByNetId.Clear(); _netIdByMod.Clear();