mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Skip liquid updates in MapgenSinglenode if not applicable
This commit is contained in:
parent
bf36a90579
commit
e48f15c135
1 changed files with 2 additions and 2 deletions
|
@ -74,8 +74,8 @@ 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
|
||||||
if ((flags & MG_LIGHT) && set_light == LIGHT_SUN)
|
if ((flags & MG_LIGHT) && set_light == LIGHT_SUN)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue