mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixed file-choosing methods not removing file extensions, fixed typo in Puddle envirnment registration
This commit is contained in:
@@ -105,7 +105,7 @@ class PokemonJukeboxScreen
|
||||
Dir.glob("*.mid") { |f| files.push(f) }
|
||||
Dir.glob("*.midi") { |f| files.push(f) }
|
||||
}
|
||||
files.map! { |f| f.chomp(File.extname(f)) }
|
||||
files.map! { |f| File.basename(f, ".*") }
|
||||
files.uniq!
|
||||
files.sort! { |a, b| a.downcase <=> b.downcase }
|
||||
@scene.pbSetCommands(files, 0)
|
||||
|
||||
Reference in New Issue
Block a user