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,7 +74,7 @@ void MapgenSinglenode::makeChunk(BlockMakeData *data)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add top and bottom side of water to transforming_liquid queue
|
if (ndef->get(n_node).isLiquid())
|
||||||
updateLiquid(&data->transforming_liquid, node_min, node_max);
|
updateLiquid(&data->transforming_liquid, node_min, node_max);
|
||||||
|
|
||||||
// Set lighting
|
// Set lighting
|
||||||
|
Loading…
Reference in New Issue
Block a user