aboutsummaryrefslogtreecommitdiff
path: root/builtin/mainmenu/common.lua
diff options
context:
space:
mode:
authorSokomine <wegwerf@anarres.dyndns.org>2015-07-02 16:26:09 +0200
committerest31 <MTest31@outlook.com>2015-07-02 23:03:42 +0200
commit0a0378fecef5c6b4be6d034d8bced2a1568dde81 (patch)
treebc9486ba59dadb526d3b84bd89f868af9b4090c3 /builtin/mainmenu/common.lua
parent8a85e5e58decf77df27d114574026ff8032b8a45 (diff)
downloadminetest-0a0378fecef5c6b4be6d034d8bced2a1568dde81.tar.xz
Set server_announce to world.mt and respect modes when changing subgame
Diffstat (limited to 'builtin/mainmenu/common.lua')
-rw-r--r--builtin/mainmenu/common.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/mainmenu/common.lua b/builtin/mainmenu/common.lua
index cbc95bc85..14a64361d 100644
--- a/builtin/mainmenu/common.lua
+++ b/builtin/mainmenu/common.lua
@@ -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