Skip to content

Commit

Permalink
Make ModList#Current an array to preserve order
Browse files Browse the repository at this point in the history
  • Loading branch information
js6pak committed Mar 2, 2024
1 parent 5db20ca commit 787b54b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Reactor/Networking/ModList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ private static void Refresh()
.Select(pluginInfo => GetById(pluginInfo.Metadata.GUID))
.OrderByDescending(x => x.Id == ReactorPlugin.Id)
.ThenBy(x => x.Id, StringComparer.Ordinal)
.ToHashSet();
.ToArray();

_modByNetId.Clear();
_netIdByMod.Clear();
Expand Down

0 comments on commit 787b54b

Please sign in to comment.