diff --git a/OpenRA.Game/Graphics/CursorProvider.cs b/OpenRA.Game/Graphics/CursorProvider.cs index fac329dc1d..f5313905df 100644 --- a/OpenRA.Game/Graphics/CursorProvider.cs +++ b/OpenRA.Game/Graphics/CursorProvider.cs @@ -22,10 +22,12 @@ namespace OpenRA.Graphics Dictionary cursors; Cache palettes; - public Action OnProgress = () => { if (Game.modData != null && Game.modData.LoadScreen != null) Game.modData.LoadScreen.Display(); }; + public Action OnProgress; public CursorProvider(ModData modData) { + OnProgress = () => { if (modData.LoadScreen != null) modData.LoadScreen.Display(); }; + var sequenceFiles = modData.Manifest.Cursors; cursors = new Dictionary();