diff options
author | Paramat <paramat@users.noreply.github.com> | 2018-07-19 03:58:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-19 03:58:48 +0100 |
commit | 4b36a39d37aa7abfdc531dbc1afbac16952a8fdd (patch) | |
tree | 84c138f3073c1020e593cacdf618db340d9b9978 /src | |
parent | bc9bb63aed82fb98eeab641eb8515c4cc1779230 (diff) | |
download | minetest-4b36a39d37aa7abfdc531dbc1afbac16952a8fdd.tar.gz minetest-4b36a39d37aa7abfdc531dbc1afbac16952a8fdd.tar.bz2 minetest-4b36a39d37aa7abfdc531dbc1afbac16952a8fdd.zip |
CSM: Disallow exploitable clientside mod functions by default (#7547)
Diffstat (limited to 'src')
-rw-r--r-- | src/defaultsettings.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp index cd60efa30..2e31e9eee 100644 --- a/src/defaultsettings.cpp +++ b/src/defaultsettings.cpp @@ -331,8 +331,8 @@ void set_default_settings(Settings *settings) settings->setDefault("max_block_send_distance", "9"); settings->setDefault("block_send_optimize_distance", "4"); settings->setDefault("server_side_occlusion_culling", "true"); - settings->setDefault("csm_restriction_flags", "18"); - settings->setDefault("csm_restriction_noderange", "8"); + settings->setDefault("csm_restriction_flags", "30"); + settings->setDefault("csm_restriction_noderange", "0"); settings->setDefault("max_clearobjects_extra_loaded_blocks", "4096"); settings->setDefault("time_speed", "72"); settings->setDefault("world_start_time", "5250"); |