mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41: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
|
@ -322,7 +322,7 @@ function menu_worldmt(selected, setting, value)
|
|||
end
|
||||
|
||||
function menu_worldmt_legacy(selected)
|
||||
local modes_names = {"creative_mode", "enable_damage"}
|
||||
local modes_names = {"creative_mode", "enable_damage", "server_announce"}
|
||||
for _, mode_name in pairs(modes_names) do
|
||||
local mode_val = menu_worldmt(selected, mode_name)
|
||||
if mode_val ~= nil then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue