1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-16 03:31:52 +00:00

Remove redundant setting of the seed.

This commit is contained in:
Daan Breur 2021-11-14 22:05:06 +01:00
parent 5171062e0f
commit f29545c01c

View File

@ -174,11 +174,7 @@ export class GameCore {
logger.log("Initializing new game");
this.root.gameIsFresh = true;
if (seed === undefined) {
this.root.map.seed = randomInt(0, 100000);
} else {
this.root.map.seed = seed;
}
logger.log("this.root.map.seed: ", this.root.map.seed);