1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-24 08:28:49 -05:00

Read server_announce from minetest.conf for GUI

This commit is contained in:
PilzAdam 2013-02-23 22:48:02 +01:00
parent f9a8efb992
commit bc2e9dbaf2

View File

@ -1481,6 +1481,7 @@ int main(int argc, char *argv[])
driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, menudata.mip_map); driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, menudata.mip_map);
menudata.creative_mode = g_settings->getBool("creative_mode"); menudata.creative_mode = g_settings->getBool("creative_mode");
menudata.enable_damage = g_settings->getBool("enable_damage"); menudata.enable_damage = g_settings->getBool("enable_damage");
menudata.enable_public = g_settings->getBool("server_announce");
// Default to selecting nothing // Default to selecting nothing
menudata.selected_world = -1; menudata.selected_world = -1;
// Get world listing for the menu // Get world listing for the menu