Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
fix: tutorial not starting in org (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
dalkia authored Jan 19, 2023
1 parent 3093806 commit e2fea21
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/entryPoints/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,10 @@ async function loadWebsiteSystems(options: KernelOptions['kernelOptions']) {
// this code should be removed once the "hardcoded" tutorial is removed
// from the renderer
if (NEEDS_TUTORIAL) {
if (getFeatureFlagVariantName(store.getState(), 'new_tutorial_variant') === 'disabled') {
const NEW_TUTORIAL_FEATURE_FLAG = getFeatureFlagVariantName(store.getState(), 'new_tutorial_variant')
const IS_NEW_TUTORIAL_DISABLED =
NEW_TUTORIAL_FEATURE_FLAG === 'disabled' || NEW_TUTORIAL_FEATURE_FLAG === 'undefined'
if (IS_NEW_TUTORIAL_DISABLED) {
const enableNewTutorialCamera = worldConfig ? worldConfig.enableNewTutorialCamera ?? false : false
const tutorialConfig = {
//TODO: hardcoding this value to true since currently default scene is the xmas scnee.
Expand Down

0 comments on commit e2fea21

Please sign in to comment.