Skip to content
This repository was archived by the owner on Aug 18, 2024. It is now read-only.

Commit b159200

Browse files
committed
rename-scene-gltf-source
1 parent f855406 commit b159200

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/functions/botHookFunctions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {
2323
} from './xrBotHookFunctions'
2424
import { XRState } from '@etherealengine/spatial/src/xr/XRState'
2525
import { NetworkState } from '@etherealengine/network'
26-
import { SceneState } from '@etherealengine/engine/src/scene/Scene'
26+
import { GLTFSourceState } from '@etherealengine/engine/src/scene/GLTFSourceState'
2727
import { AvatarComponent } from '@etherealengine/engine/src/avatar/components/AvatarComponent'
2828
import { BotUserAgent } from '@etherealengine/common/src/constants/BotUserAgent'
2929

@@ -63,7 +63,7 @@ export function worldNetworkReady() {
6363
}
6464

6565
export function sceneLoaded() {
66-
return getState(SceneState).sceneLoaded
66+
return getState(GLTFSourceState).sceneLoaded
6767
}
6868

6969
export function getPlayerPosition() {

0 commit comments

Comments
 (0)