Fixed corrupted civilian sector music in FTL 1.6.1+

This commit is contained in:
Vhati 2017-12-12 15:11:56 -05:00
parent 5077d4c7ff
commit 528865c83f
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
Changelog Changelog
1.9:
- Fixed corrupted civilian sector music in FTL 1.6.1+
1.8: 1.8:
- Fixed endless prompting about Steam on startup for standalone distros - Fixed endless prompting about Steam on startup for standalone distros
- Fixed mods not being added to FTL's resources - Fixed mods not being added to FTL's resources

View file

@ -327,7 +327,7 @@ public class PkgPack extends AbstractPack {
private PkgEntry getEntryWithEarliestData() { private PkgEntry getEntryWithEarliestData() {
PkgEntry result = null; PkgEntry result = null;
for ( PkgEntry entry : entryList ) { for ( PkgEntry entry : entryList ) {
if ( entry != null && (result == null || entry.dataOffset > result.dataOffset) ) { if ( entry != null && (result == null || entry.dataOffset < result.dataOffset) ) {
result = entry; result = entry;
} }
} }