1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2026-03-02 03:39:21 +00:00

Add proper game analytics

This commit is contained in:
tobspr
2020-05-12 20:06:50 +02:00
parent 2411054ad2
commit 241b4b42d9
7 changed files with 193 additions and 76 deletions

View File

@@ -198,8 +198,10 @@ export class InGameState extends GameState {
this.core.initializeRoot(this, this.savegame);
if (this.savegame.hasGameDump()) {
this.app.gameAnalytics.handleGameStarted(this.savegame);
this.stage4bResumeGame();
} else {
this.app.gameAnalytics.handleGameStarted(this.savegame);
this.stage4aInitEmptyGame();
}
}