don't override previous needsLighting flag

This commit is contained in:
David Vierra 2010-09-19 04:33:33 -10:00
parent e8cc90f172
commit fdb14f0517

View File

@ -1305,7 +1305,7 @@ class InfdevChunk(MCLevel):
return;
self.dirty = True;
self.needsLighting = calcLighting;
self.needsLighting = calcLighting or self.needsLighting;
self.generateHeightMap();
if calcLighting:
self.genFastLights()