diff --git a/Intersect.Client/Core/Graphics.cs b/Intersect.Client/Core/Graphics.cs index 057f6b2173..4130884fd2 100644 --- a/Intersect.Client/Core/Graphics.cs +++ b/Intersect.Client/Core/Graphics.cs @@ -78,7 +78,7 @@ public static FloatRect CurrentView public static GameRenderer? Renderer; //Cache the Y based rendering - public static HashSet[,] RenderingEntities = new HashSet[6, Options.MapHeight * 5]; + public static HashSet[,]? RenderingEntities; private static GameContentManager sContentManager = null!; @@ -135,6 +135,7 @@ public static GameFont FindFont(string font) public static void InitInGame() { + RenderingEntities = new HashSet[6, Options.MapHeight * 5]; for (var z = 0; z < 6; z++) { for (var i = 0; i < Options.MapHeight * 5; i++)