mirror of
https://github.com/moparisthebest/minetest
synced 2024-12-23 08:08:47 -05:00
Tune generation responsiveness and cheat inhibition on server
This commit is contained in:
parent
f5e46ba7fc
commit
c04f4a7d73
@ -687,7 +687,7 @@ void RemoteClient::GetNextBlocks(Server *server, float dtime,
|
||||
u32 max_emerge = 5;
|
||||
// Make it more responsive when needing to generate stuff
|
||||
if(surely_not_found_on_disk)
|
||||
max_emerge = 2;
|
||||
max_emerge = 1;
|
||||
if(server->m_emerge_queue.peerItemCount(peer_id) < max_emerge)
|
||||
{
|
||||
//infostream<<"Adding block to emerge queue"<<std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user