Add null protection to LodRenderer

This commit is contained in:
James Seibel
2020-10-25 21:06:51 -05:00
parent 7d67724089
commit ea71da67fe
@@ -67,6 +67,12 @@ public class LodRenderer
return;
}
if (regions == null)
{
// if there aren't any loaded LodChunks
// don't try drawing anything
return;
}