mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-16 11:41:50 +00:00
Remove redundant setting of the seed.
This commit is contained in:
parent
5171062e0f
commit
f29545c01c
@ -174,11 +174,7 @@ export class GameCore {
|
|||||||
logger.log("Initializing new game");
|
logger.log("Initializing new game");
|
||||||
this.root.gameIsFresh = true;
|
this.root.gameIsFresh = true;
|
||||||
|
|
||||||
if (seed === undefined) {
|
this.root.map.seed = seed;
|
||||||
this.root.map.seed = randomInt(0, 100000);
|
|
||||||
} else {
|
|
||||||
this.root.map.seed = seed;
|
|
||||||
}
|
|
||||||
|
|
||||||
logger.log("this.root.map.seed: ", this.root.map.seed);
|
logger.log("this.root.map.seed: ", this.root.map.seed);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user