Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help,
read this .
EchoFive
Prole
Posts: 2 Joined: Sat May 03, 2014 5:20 pm
Post
by EchoFive » Mon May 19, 2014 1:17 am
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?
slime
Solid Snayke
Posts: 3162 Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:
Post
by slime » Mon May 19, 2014 1:21 am
love.filesystem can only create/modify/remove files and folders which are in the game's
save directory.
Users browsing this forum: Ahrefs [Bot] , Google [Bot] and 4 guests