mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixed inconsistency in
Data/Scripts/001_Settings.rb sprite folder paths and modified all references to these constants to match the new convention. These paths will now always contain the ending slash.
This commit is contained in:
@@ -74,8 +74,8 @@ def sortCustomBattlers()
|
||||
next if filename == '.' or filename == '..'
|
||||
next if !filename.end_with?(".png")
|
||||
headNum = filename.split('.')[0]
|
||||
oldPath = Settings::CUSTOM_BATTLERS_FOLDER + "/" + filename
|
||||
newPath = Settings::CUSTOM_BATTLERS_FOLDER_INDEXED + "/" + headNum.to_s + "/" +filename
|
||||
oldPath = Settings::CUSTOM_BATTLERS_FOLDER + filename
|
||||
newPath = Settings::CUSTOM_BATTLERS_FOLDER_INDEXED + headNum.to_s + "/" + filename
|
||||
begin
|
||||
if File.file?(newPath)
|
||||
alreadyExists[oldPath] = newPath
|
||||
|
||||
Reference in New Issue
Block a user