Yigg-- Love has inconsistent pathing...
Posted: Sat Oct 02, 2010 4:00 am
0.62-- If I start writing:
local f = assert(io.open("mapdata.lua", "w"))
The file goes to the path of the .bat file that's driving, but if I load:
love.filesystem.load("mapdata.lua")()
It goes to the local path. Of course, I probably should be using love.filesystem but I think it's worth labeling as an "issue" even if it is the result of doing something a bit wrong...
local f = assert(io.open("mapdata.lua", "w"))
The file goes to the path of the .bat file that's driving, but if I load:
love.filesystem.load("mapdata.lua")()
It goes to the local path. Of course, I probably should be using love.filesystem but I think it's worth labeling as an "issue" even if it is the result of doing something a bit wrong...