summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 8593fdb..499f6ba 100644
--- a/init.lua
+++ b/init.lua
@@ -16,8 +16,8 @@ pipeworks.modpath = minetest.get_modpath("pipeworks")
dofile(pipeworks.modpath.."/default_settings.txt")
-- Read the external config file if it exists.
-local worldsettingspath = pipeworks.worldpath.."/pipeworks_settings.txt","r"
-local worldsettingsfile = io.open(worldsettingspath)
+local worldsettingspath = pipeworks.worldpath.."/pipeworks_settings.txt"
+local worldsettingsfile = io.open(worldsettingspath, "r")
if worldsettingsfile then
worldsettingsfile:close()
dofile(worldsettingspath)