Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- minetest.after(0, function()
- file = io.open(minetest.get_worldpath() .. "/file.txt", "w")
- io.input(file)
- io.output(file)
- stat_count = minetest.deserialize(tostring(io.read("*all")
- end)
- -- Writing stat_count to a file says "return nil"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement