mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
ABM and liquid overload skip
This commit is contained in:
parent
98ff4eb4ee
commit
1d44a98f2f
3 changed files with 11 additions and 3 deletions
|
@ -1636,7 +1636,7 @@ void Map::transformLiquids(core::map<v3s16, MapBlock*> & modified_blocks)
|
|||
while(m_transforming_liquid.size() != 0)
|
||||
{
|
||||
// This should be done here so that it is done when continue is used
|
||||
if(loopcount >= initial_size * 3)
|
||||
if(loopcount >= initial_size || loopcount >= 1000)
|
||||
break;
|
||||
loopcount++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue