Skip to content

Commit

Permalink
fix(client): welcome screen
Browse files Browse the repository at this point in the history
  • Loading branch information
Veradictus committed Sep 16, 2023
1 parent ae0cfe4 commit 3a30914
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,14 +190,14 @@ export default class Game {
userAgent: agent
});

if (this.storage.isNew()) this.menu.getWelcome().show();

if (this.storage.data.new) {
this.storage.data.new = false;
this.storage.save();
}

if (this.map.hasCachedDate()) this.app.fadeMenu();

if (this.storage.isNew()) this.menu.getWelcome().show();
}

/**
Expand Down

0 comments on commit 3a30914

Please sign in to comment.