mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Fixed duplicate files listed in BGM/ME pickers in PBS file editors
This commit is contained in:
@@ -514,7 +514,8 @@ def pbSelectSE(canvas, audio)
|
||||
animfiles.concat(Dir.glob("*.ogg"))
|
||||
animfiles.concat(Dir.glob("*.wma"))
|
||||
}
|
||||
animfiles.sort! { |a, b| a.upcase <=> b.upcase }
|
||||
animfiles.uniq!
|
||||
animfiles.sort! { |a, b| a.downcase <=> b.downcase }
|
||||
animfiles = [_INTL("[Play user's cry]")] + animfiles
|
||||
cmdwin = pbListWindow(animfiles, 320)
|
||||
cmdwin.height = 480
|
||||
|
||||
Reference in New Issue
Block a user