projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5e46ba
)
Tune generation responsiveness and cheat inhibition on server
author
Perttu Ahola
<celeron55@gmail.com>
Fri, 3 Feb 2012 00:22:36 +0000
(
02:22
+0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Tue, 27 Mar 2012 16:05:59 +0000
(19:05 +0300)
src/server.cpp
patch
|
blob
|
history
diff --git
a/src/server.cpp
b/src/server.cpp
index a0549d4241f9d0d0a3916ab0d9d741ee9276ac94..8c03ec88008a56c70c908d94c9b6fc9917eb2c70 100644
(file)
--- a/
src/server.cpp
+++ b/
src/server.cpp
@@
-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;