This repository was archived by the owner on Feb 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -256,7 +256,10 @@ async function loadWebsiteSystems(options: KernelOptions['kernelOptions']) {
256256 // this code should be removed once the "hardcoded" tutorial is removed
257257 // from the renderer
258258 if ( NEEDS_TUTORIAL ) {
259- if ( getFeatureFlagVariantName ( store . getState ( ) , 'new_tutorial_variant' ) === 'disabled' ) {
259+ const NEW_TUTORIAL_FEATURE_FLAG = getFeatureFlagVariantName ( store . getState ( ) , 'new_tutorial_variant' )
260+ const IS_NEW_TUTORIAL_DISABLED =
261+ NEW_TUTORIAL_FEATURE_FLAG === 'disabled' || NEW_TUTORIAL_FEATURE_FLAG === 'undefined'
262+ if ( IS_NEW_TUTORIAL_DISABLED ) {
260263 const enableNewTutorialCamera = worldConfig ? worldConfig . enableNewTutorialCamera ?? false : false
261264 const tutorialConfig = {
262265 //TODO: hardcoding this value to true since currently default scene is the xmas scnee.
You can’t perform that action at this time.
0 commit comments