Add null protection to LodRenderer
This commit is contained in:
@@ -67,6 +67,12 @@ public class LodRenderer
|
||||
return;
|
||||
}
|
||||
|
||||
if (regions == null)
|
||||
{
|
||||
// if there aren't any loaded LodChunks
|
||||
// don't try drawing anything
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user