From 660de820094eed922939702d5d5dc9b3dd0365f3 Mon Sep 17 00:00:00 2001 From: Popax21 Date: Tue, 7 Nov 2023 18:23:30 +0100 Subject: [PATCH] Fix NRE in `ModInitializationBatch` --- Celeste.Mod.mm/Mod/Everest/Everest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Celeste.Mod.mm/Mod/Everest/Everest.cs b/Celeste.Mod.mm/Mod/Everest/Everest.cs index f6327a53a..e782305f9 100644 --- a/Celeste.Mod.mm/Mod/Everest/Everest.cs +++ b/Celeste.Mod.mm/Mod/Everest/Everest.cs @@ -638,7 +638,7 @@ internal class ModInitializationBatch : IDisposable { public bool IsActive { get; private set; } private bool shouldReloadMaps = false; - private Queue lateModuleInitQueue = null; + private Queue lateModuleInitQueue = new Queue(); public ModInitializationBatch() { if (_ModInitBatch != null)