多媒体文件整理到media文件夹内

This commit is contained in:
MrZ626
2020-11-16 22:32:44 +08:00
parent db3c87f852
commit a43a34fe10
283 changed files with 10 additions and 10 deletions

View File

@@ -28,7 +28,7 @@ function BGM.set(L)
end
function BGM.loadOne(N)
N=BGM.list[N]
local file="/BGM/"..N..".ogg"
local file="media/BGM/"..N..".ogg"
if love.filesystem.getInfo(file)then
BGM.list[N]=love.audio.newSource(file,"stream")
BGM.list[N]:setLooping(true)