Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix world.mt not written when selecting mode
  • Loading branch information
Sokomine authored and est31 committed Jul 1, 2015
1 parent 2e44873 commit 75d2cfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion builtin/mainmenu/common.lua
Expand Up @@ -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
Expand Down

0 comments on commit 75d2cfe

Please sign in to comment.