diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map.cpp | 1 | ||||
-rw-r--r-- | src/server.cpp | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/map.cpp b/src/map.cpp index e24bac2f2..c49c29074 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -1297,7 +1297,6 @@ void Map::removeNodeAndUpdate(v3s16 p, bool Map::addNodeWithEvent(v3s16 p, MapNode n) { - ScopeProfiler sp(g_profiler, "Map::addNodeWithEvent", SPT_AVG); MapEditEvent event; event.type = MEET_ADDNODE; event.p = p; diff --git a/src/server.cpp b/src/server.cpp index a8267b1f1..c83fce3b0 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -322,8 +322,8 @@ void * EmergeThread::Thread() TimeTaker timer("on_generated"); scriptapi_environment_on_generated(m_server->m_lua, minp, maxp, mapgen::get_blockseed(data.seed, minp)); - int t = timer.stop(true); - dstream<<"on_generated took "<<t<<"ms"<<std::endl; + /*int t = timer.stop(true); + dstream<<"on_generated took "<<t<<"ms"<<std::endl;*/ } if(enable_mapgen_debug_info) |