|
@@ -116,9 +116,6 @@ export function MapObjectByID(needle: number, haystack: RangeMap[]): number {
|
|
* @returns
|
|
* @returns
|
|
*/
|
|
*/
|
|
export function MapSeed(seedID: number, rangeMaps: RangeMaps): SeedMap|undefined {
|
|
export function MapSeed(seedID: number, rangeMaps: RangeMaps): SeedMap|undefined {
|
|
- // Make sure the seed with that ID exists before continueing
|
|
|
|
- if(!rangeMaps.Seeds.includes(seedID)) { return undefined; }
|
|
|
|
-
|
|
|
|
// Initialize our seed map object
|
|
// Initialize our seed map object
|
|
const seed: SeedMap = {
|
|
const seed: SeedMap = {
|
|
ID: seedID,
|
|
ID: seedID,
|