From: PilzAdam Date: Sat, 23 Feb 2013 21:48:02 +0000 (+0100) Subject: Read server_announce from minetest.conf for GUI X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=bc2e9dbaf2fe31a1aa8282c0ac7c87aee490c75c;p=zefram%2Fminetest%2Fminetest_engine.git Read server_announce from minetest.conf for GUI --- diff --git a/src/main.cpp b/src/main.cpp index 9287ec76..7bbbf082 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