Many more Rubocop-inspired code improvements

This commit is contained in:
Maruno17
2021-12-18 19:06:22 +00:00
parent d17fc40a47
commit 13a238cc6a
107 changed files with 651 additions and 652 deletions

View File

@@ -64,7 +64,6 @@ module FilenameUpdater
end
next if !changed
mapData.saveMap(id)
any_changed = true
ret.push(_INTL("Map {1}: '{2}' was modified and saved.", id, mapData.mapinfos[id].name))
end
Console.echo_done(true)
@@ -74,7 +73,6 @@ module FilenameUpdater
def rename_files
Console.echo_h1 "Updating file names and locations"
change_record = []
changed = false
# Add underscore to berry plant charsets
if rename_berry_plant_charsets
Console.echo_warn _INTL("Berry plant charset files were renamed.")