Skip to content

Commit

Permalink
Skip liquid updates in MapgenSinglenode if not applicable
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Aug 14, 2023
1 parent bf36a90 commit e48f15c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mapgen/mapgen_singlenode.cpp
Expand Up @@ -74,8 +74,8 @@ void MapgenSinglenode::makeChunk(BlockMakeData *data)
}
}

// Add top and bottom side of water to transforming_liquid queue
updateLiquid(&data->transforming_liquid, node_min, node_max);
if (ndef->get(n_node).isLiquid())
updateLiquid(&data->transforming_liquid, node_min, node_max);

// Set lighting
if ((flags & MG_LIGHT) && set_light == LIGHT_SUN)
Expand Down

0 comments on commit e48f15c

Please sign in to comment.