1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-16 11:41:50 +00:00

Change logger messages to be natural language

This commit is contained in:
Daan Breur 2021-11-16 15:24:23 +01:00
parent f29545c01c
commit c6b5fdc8a7

View File

@ -173,10 +173,9 @@ export class GameCore {
initNewGame({ seed }) {
logger.log("Initializing new game");
this.root.gameIsFresh = true;
this.root.map.seed = seed;
logger.log("this.root.map.seed: ", this.root.map.seed);
logger.log("Initializing newGame with seed: ", this.root.map.seed);
if (!this.root.gameMode.hasHub()) {
return;
@ -214,6 +213,7 @@ export class GameCore {
return false;
}
this.root.gameIsFresh = false;
logger.log("Initializing existingGame with seed: ", this.root.map.seed);
return true;
}