aboutsummaryrefslogtreecommitdiff
path: root/src/defaultsettings.cpp
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-08-10 22:24:47 +0200
committerest31 <MTest31@outlook.com>2015-08-13 07:56:07 +0200
commita8e238ed06ee8285ed4459e9deda3117419837f6 (patch)
tree9d2d9caee1f9d1a3944d1ba078e7df6e9f13d7c3 /src/defaultsettings.cpp
parent2b04ab874d75711bc021a0cd8dc7fca68f4e6929 (diff)
downloadminetest-a8e238ed06ee8285ed4459e9deda3117419837f6.tar.gz
minetest-a8e238ed06ee8285ed4459e9deda3117419837f6.tar.bz2
minetest-a8e238ed06ee8285ed4459e9deda3117419837f6.zip
Add count based unload limit for mapblocks
Diffstat (limited to 'src/defaultsettings.cpp')
-rw-r--r--src/defaultsettings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 40afc7dd3..92d85c830 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -104,6 +104,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("address", "");
settings->setDefault("random_input", "false");
settings->setDefault("client_unload_unused_data_timeout", "600");
+ settings->setDefault("client_mapblock_limit", "1000");
settings->setDefault("enable_fog", "true");
settings->setDefault("fov", "72");
settings->setDefault("view_bobbing", "true");