The global Math.random is is being Monkey Patched after calling dungeon.generate.
Opened this issue · 0 comments
joelnet commented
This line used to seed Math.random is overwriting the global Math.random. This is affecting my game after I generate a dungeon.
seedrandom(args.seed, { global: true });
Can we refactor this to keep the seeded random internal to the library and not overwrite the global Math.random?