Browse Source

Added temporal seed logging

sanex3339 7 years ago
parent
commit
1f34d39fd4
2 changed files with 2 additions and 0 deletions
  1. 0 0
      dist/index.js
  2. 2 0
      src/utils/RandomGenerator.ts

File diff suppressed because it is too large
+ 0 - 0
dist/index.js


+ 2 - 0
src/utils/RandomGenerator.ts

@@ -94,6 +94,8 @@ export class RandomGenerator implements IRandomGenerator, IInitializable {
 
 
         this.seed = this.options.seed !== 0 ? this.options.seed : getRandomInteger(0, 999999999);
         this.seed = this.options.seed !== 0 ? this.options.seed : getRandomInteger(0, 999999999);
         this.randomGenerator = new Chance(getSeed());
         this.randomGenerator = new Chance(getSeed());
+
+        console.log(`Seed is ${this.seed}`);
     }
     }
 
 
     /**
     /**

Some files were not shown because too many files changed in this diff