aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map.cpp b/src/map.cpp
index 07ad08dcb..830627066 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -2012,6 +2012,7 @@ ServerMap::~ServerMap()
void ServerMap::initBlockMake(mapgen::BlockMakeData *data, v3s16 blockpos)
{
+ bool enable_mapgen_debug_info = g_settings.getBool("enable_mapgen_debug_info");
if(enable_mapgen_debug_info)
dstream<<"initBlockMake(): ("<<blockpos.X<<","<<blockpos.Y<<","
<<blockpos.Z<<")"<<std::endl;