diff --git a/packages/entryPoints/index.ts b/packages/entryPoints/index.ts index 05848aaea..062735964 100644 --- a/packages/entryPoints/index.ts +++ b/packages/entryPoints/index.ts @@ -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.