mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 05:34:58 +00:00
Added mp3 support back in, changed layout of townmapgen.html, screenshots now go in Screenshots folder, added "NoName" flag for trainer types
This commit is contained in:
@@ -613,7 +613,7 @@ def pbImportAllAnimations
|
||||
Graphics.update
|
||||
audios = []
|
||||
files = Dir.glob(folder + "/*.*")
|
||||
["wav", "ogg", "mid", "wma"].each do |ext| # mp3
|
||||
["wav", "ogg", "mp3", "midi", "mid", "wma"].each do |ext|
|
||||
upext = ext.upcase
|
||||
audios.concat(files.find_all { |f| f[f.length - 3, 3] == ext })
|
||||
audios.concat(files.find_all { |f| f[f.length - 3, 3] == upext })
|
||||
|
||||
Reference in New Issue
Block a user