Parcourir la source

Added temporal seed logging

sanex3339 il y a 7 ans
Parent
commit
1f34d39fd4
2 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 0 0
      dist/index.js
  2. 2 0
      src/utils/RandomGenerator.ts

Fichier diff supprimé car celui-ci est trop grand
+ 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.randomGenerator = new Chance(getSeed());
+
+        console.log(`Seed is ${this.seed}`);
     }
 
     /**

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff