moved lighting check from world object to quadtree object, where it should be now
This commit is contained in:
2
chunk.py
2
chunk.py
@@ -550,7 +550,7 @@ class ChunkRenderer(object):
|
||||
if not img:
|
||||
img = Image.new("RGBA", (384, 1728), (38,92,255,0))
|
||||
|
||||
if self.world.lighting:
|
||||
if self.quadtree.lighting:
|
||||
c_overviewer.render_loop_lighting(self, img, xoff, yoff, blockData_expanded)
|
||||
else:
|
||||
c_overviewer.render_loop(self, img, xoff, yoff, blockData_expanded)
|
||||
|
||||
Reference in New Issue
Block a user