Browse Source

Disable leaf decay by default

A number of worlds use leaves as the basis for sculptures.  If the
sculptures  are destroyed by  leaf decay,  turning  leaf decay off
won't restore them.

However, for worlds where the host wants to use leaf decay,  there
are no  negative consequences to having  leaf  decay off initially
and then turning it on.

So, leaf decay has been turned off by default.

As part of this,  the parameter  "disable_leaf_decay" has been re-
placed with "enable_leaf_decay".  The default setting for the  new
parameter is:

      enable_leaf_decay = false
master
OldCoder 2 months ago
parent
commit
2f289200c3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/defaultsettings.cpp

+ 1
- 1
src/defaultsettings.cpp View File

@@ -36,10 +36,10 @@ void set_default_settings(Settings *settings)
// Client
settings->setDefault("address", "");

settings->setDefault ("disable_leaf_decay" , "false");
settings->setDefault ("enable_falling_sand" , "false");
settings->setDefault ("enable_footstep" , "false");
settings->setDefault ("enable_footsteps" , "false");
settings->setDefault ("enable_leaf_decay" , "false");

settings->setDefault("enable_sound", "true");
settings->setDefault("sound_volume", "0.8");

Loading…
Cancel
Save