mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Add setting to hide mature content from ContentDB
This commit is contained in:
parent
9a071d66a5
commit
626b0b7e6a
3 changed files with 22 additions and 6 deletions
|
@ -300,7 +300,11 @@ void set_default_settings(Settings *settings)
|
|||
settings->setDefault("font_size", font_size_str);
|
||||
settings->setDefault("mono_font_size", font_size_str);
|
||||
settings->setDefault("contentdb_url", "https://content.minetest.net");
|
||||
settings->setDefault("show_nonfree_packages", "false");
|
||||
#ifdef __ANDROID__
|
||||
settings->setDefault("contentdb_flag_blacklist", "nonfree, android_default");
|
||||
#else
|
||||
settings->setDefault("contentdb_flag_blacklist", "nonfree, desktop_default");
|
||||
#endif
|
||||
|
||||
|
||||
// Server
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue