mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
Skip liquid updates in MapgenSinglenode if not applicable
This commit is contained in:
parent
bf36a90579
commit
e48f15c135
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user