Преглед на файлове

Remove ID existing requirement from MapSeeds

With part ii, the seed ID may not exist in the Seeds property of the
maps, so don't bother checking.
ApisNecros преди 1 година
родител
ревизия
2bbb45db80
променени са 1 файла, в които са добавени 0 реда и са изтрити 3 реда
  1. 0 3
      5/5_common.ts

+ 0 - 3
5/5_common.ts

@@ -116,9 +116,6 @@ export function MapObjectByID(needle: number, haystack: RangeMap[]): number {
  * @returns 
  */
 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
     const seed: SeedMap = {
         ID: seedID,