mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Set server_announce to world.mt and respect modes when changing subgame
This commit is contained in:
parent
8a85e5e58d
commit
0a0378fece
3 changed files with 12 additions and 1 deletions
|
@ -103,6 +103,9 @@ local function main_button_handler(this, fields, name, tabdata)
|
|||
|
||||
if fields["cb_server_announce"] then
|
||||
core.setting_set("server_announce", fields["cb_server_announce"])
|
||||
local selected = core.get_textlist_index("srv_worlds")
|
||||
menu_worldmt(selected, "server_announce", fields["cb_server_announce"])
|
||||
|
||||
return true
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue