Fixed corrupted civilian sector music in FTL 1.6.1+
This commit is contained in:
parent
5077d4c7ff
commit
528865c83f
2 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue