Updated to mkxp-z v2.2.3 (removed mp3 support)

This commit is contained in:
Maruno17
2021-11-02 21:14:31 +00:00
parent 5ad9f60d61
commit 50d999e7da
10 changed files with 35 additions and 49 deletions

View File

@@ -614,7 +614,7 @@ def pbImportAllAnimations
Graphics.update
audios = []
files = Dir.glob(folder+"/*.*")
%w( wav ogg mid wma mp3 ).each { |ext|
%w( wav ogg mid wma ).each { |ext| # mp3
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 })