diff options
Diffstat (limited to 'src/mapgen_singlenode.cpp')
-rw-r--r-- | src/mapgen_singlenode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapgen_singlenode.cpp b/src/mapgen_singlenode.cpp index 5288a1f08..1471e064b 100644 --- a/src/mapgen_singlenode.cpp +++ b/src/mapgen_singlenode.cpp @@ -89,7 +89,7 @@ void MapgenSinglenode::makeChunk(BlockMakeData *data) { updateLiquid(&data->transforming_liquid, node_min, node_max); // Calculate lighting - if (!(flags & MG_NOLIGHT)) + if (flags & MG_LIGHT) calcLighting(node_min - v3s16(1, 0, 1) * MAP_BLOCKSIZE, node_max + v3s16(1, 0, 1) * MAP_BLOCKSIZE); |