mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Read server_announce from minetest.conf for GUI
This commit is contained in:
parent
f9a8efb992
commit
bc2e9dbaf2
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue