aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPilzAdam <PilzAdam@gmx.de>2013-02-23 22:48:02 +0100
committerPilzAdam <PilzAdam@gmx.de>2013-02-23 22:48:02 +0100
commitbc2e9dbaf2fe31a1aa8282c0ac7c87aee490c75c (patch)
tree9f033024c5617e0c50516cfa54eaa9481ed468d0 /src/main.cpp
parentf9a8efb99235c86eb61b6deb2bc034d5618e45ea (diff)
downloadminetest-bc2e9dbaf2fe31a1aa8282c0ac7c87aee490c75c.tar.gz
minetest-bc2e9dbaf2fe31a1aa8282c0ac7c87aee490c75c.tar.bz2
minetest-bc2e9dbaf2fe31a1aa8282c0ac7c87aee490c75c.zip
Read server_announce from minetest.conf for GUI
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 9287ec760..7bbbf082d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1481,6 +1481,7 @@ int main(int argc, char *argv[])
driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, menudata.mip_map);
menudata.creative_mode = g_settings->getBool("creative_mode");
menudata.enable_damage = g_settings->getBool("enable_damage");
+ menudata.enable_public = g_settings->getBool("server_announce");
// Default to selecting nothing
menudata.selected_world = -1;
// Get world listing for the menu