remove dev mode tutorial skip

This commit is contained in:
Mashy 2020-01-17 17:27:42 +10:00
parent f52d2e409a
commit 58edf3d5ee

View File

@ -180,8 +180,8 @@ function registerEvents(store) {
setPvp(false);
const player = v.players.find(p => p.id === account.id);
store.dispatch(actions.setPlayer(player));
if (tutorial && process.env.NODE_ENV !== 'development') tutorialVbox(player, store, tutorial);
if (tutorial) tutorialVbox(player, store, tutorial);
if (v.phase === 'Finished') {
ws.sendAccountInstances();
@ -216,7 +216,6 @@ function registerEvents(store) {
}
function promptRegister() {
store.dispatch(actions.setTutorial(99));
store.dispatch(actions.setInstance(null));
}