Closed EngineerSmith closed 2 years ago
I get same warning when use love.filesystem.newFileData(filepath)
LOVE - Warning: Using deprecated function love.filesystem.newFile (renamed to love.filesystem.openFile)
Probably because of this? https://github.com/love2d/love/blob/5175b0d1b599ea4c7b929f6b4282dd379fa116b8/src/modules/filesystem/wrap_Filesystem.cpp#L310
Most likely, as love.thread.newThread
also calls upon newFileData
Fixed. Thanks!
Love 12; latest commit 4a1d01c
When calling
love.thread.newThread("thread.lua")
it will cause a deprecated message to show:Note the missing file name and line number unlike the usual deprecated message format
LOVE - Warning: dir/file.lua:99: ...
Reproduce: