mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-12-15 19:21:49 +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");
|
||||
this.root.gameIsFresh = true;
|
||||
|
||||
if (seed === undefined) {
|
||||
this.root.map.seed = randomInt(0, 100000);
|
||||
} else {
|
||||
this.root.map.seed = seed;
|
||||
}
|
||||
this.root.map.seed = seed;
|
||||
|
||||
logger.log("this.root.map.seed: ", this.root.map.seed);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user