projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e44873
)
Fix world.mt not written when selecting mode
author
Sokomine
<wegwerf@anarres.dyndns.org>
Wed, 1 Jul 2015 16:56:27 +0000
(18:56 +0200)
committer
est31
<MTest31@outlook.com>
Wed, 1 Jul 2015 17:50:24 +0000
(19:50 +0200)
builtin/mainmenu/common.lua
patch
|
blob
|
history
diff --git
a/builtin/mainmenu/common.lua
b/builtin/mainmenu/common.lua
index 5cd16a9eab6ea9111e6307e4cf28b582bb19cfb6..cbc95bc8501a2bf5b46ee4dc95e341b7c4aa00de 100644
(file)
--- a/
builtin/mainmenu/common.lua
+++ b/
builtin/mainmenu/common.lua
@@
-311,7
+311,8
@@
function menu_worldmt(selected, setting, value)
if not world_conf:write() then
core.log("error", "Failed to write world config file")
end
- return world_conf:set(setting, value)
+ world_conf:set(setting, value)
+ world_conf:write()
else
return world_conf:get(setting)
end