Tune generation responsiveness and cheat inhibition on server
authorPerttu Ahola <celeron55@gmail.com>
Fri, 3 Feb 2012 00:22:36 +0000 (02:22 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Tue, 27 Mar 2012 16:05:59 +0000 (19:05 +0300)
src/server.cpp

index a0549d4241f9d0d0a3916ab0d9d741ee9276ac94..8c03ec88008a56c70c908d94c9b6fc9917eb2c70 100644 (file)
@@ -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;