Skip to content

Commit

Permalink
MUSIC: Catch old version mess
Browse files Browse the repository at this point in the history
  • Loading branch information
tewlwolow committed Sep 22, 2023
1 parent 3602abf commit 7a1fec5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion 00 Core/MWSE/mods/tew/AURA/Ambient/Interior/interiorMain.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ for folder in lfs.dir("Data Files\\Music\\tew\\AURA") do
if folder ~= "Special" then
for soundfile in lfs.dir("Data Files\\Music\\tew\\AURA\\" .. folder) do
if soundfile and soundfile ~= ".." and soundfile ~= "." and string.endswith(soundfile, ".mp3") then
table.insert(musicArrays[folder], soundfile)
local ok = pcall(table.insert, musicArrays[folder], soundfile)
if not ok then goto continue end
debugLog("Adding music file: " .. soundfile)
end
:: continue ::
end
end
end
Expand Down

0 comments on commit 7a1fec5

Please sign in to comment.
  翻译: