madden-franchise 2.3.8 → 2.3.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FranchiseFileTable.js +7 -2
- package/package.json +1 -1
package/FranchiseFileTable.js
CHANGED
|
@@ -149,8 +149,13 @@ class FranchiseFileTable extends EventEmitter {
|
|
|
149
149
|
+ `The nextRecordToUse has NOT been updated.`);
|
|
150
150
|
}
|
|
151
151
|
else {
|
|
152
|
-
|
|
153
|
-
|
|
152
|
+
let nextRecordToUse = this.header.recordCapacity;
|
|
153
|
+
|
|
154
|
+
if (unreachableRecords.length === 1) {
|
|
155
|
+
nextRecordToUse = unreachableRecords[0].index;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
this._setNextRecordToUseBuffer(nextRecordToUse);
|
|
154
159
|
this.emptyRecords = this._parseEmptyRecords();
|
|
155
160
|
}
|
|
156
161
|
};
|