mirror of
https://github.com/tobspr/shapez.io.git
synced 2024-10-27 20:34:29 +00:00
update events
This commit is contained in:
parent
77a8ae60c3
commit
bf04485c80
@ -322,15 +322,8 @@ export class MainMenuState extends GameState {
|
|||||||
}
|
}
|
||||||
|
|
||||||
doStartNewGame() {
|
doStartNewGame() {
|
||||||
this.app.analytics.trackUiClick("start_new_game");
|
|
||||||
const savegame = this.app.savegameMgr.createNewSavegame();
|
|
||||||
|
|
||||||
this.app.analytics.trackUiClick("startgame");
|
this.app.analytics.trackUiClick("startgame");
|
||||||
|
const savegame = this.app.savegameMgr.createNewSavegame();
|
||||||
if (G_IS_DEV) {
|
|
||||||
// TODO
|
|
||||||
// this.moveToState("SettingsState");
|
|
||||||
}
|
|
||||||
|
|
||||||
this.moveToState("InGameState", {
|
this.moveToState("InGameState", {
|
||||||
savegame,
|
savegame,
|
||||||
|
Loading…
Reference in New Issue
Block a user