Page 1 of 1

How Do I Use love.filesystem.remove?

Posted: Mon May 19, 2014 1:17 am
by EchoFive
I believed that I was using it right -- I used it the same way it was used in the example on the wiki, but it doesn't remove the file.

Code: Select all

love.filesystem.remove("test.rand")
test.rand is in the same directory as main.lua. I put the above code at the top of main.lua to test if it worked, and test.rand still wasn't deleted. What am I doing wrong?

Re: How Do I Use love.filesystem.remove?

Posted: Mon May 19, 2014 1:21 am
by slime
love.filesystem can only create/modify/remove files and folders which are in the game's save directory.