master
cornernote 2015-07-22 20:33:09 +09:30
parent 2bf9188b7f
commit e36a4125da
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ wikiSaveJson = function(name, counter, data)
local modname = minetest.get_current_modname();
if modname==nil then modname="" end
local json = JSON:encode(data)
io.output(io.open(minetest.get_builtin_path().."/wikidata/game/"..name.."."..modname.."."..counter..".json","w"))
io.output(io.open(minetest.get_builtin_path().."/wikidata/"..name.."."..modname.."."..counter..".json","w"))
io.write(json)
io.close()
end