fix(scene): correct method call to createSceneSwitchItem

This commit is contained in:
Christian Weimann
2025-01-11 10:05:45 +01:00
parent 27446b13b8
commit 0c5566a7eb

View File

@@ -71,7 +71,7 @@ class Scene {
this.evaluationRuleUID = "SceneItems" + this.sceneUID;
if (!items[this.sceneSwitchItemName]) {
createSceneSwitchItem();
this.createSceneSwitchItem();
}
this.createSceneRules();
@@ -259,4 +259,4 @@ require('@runtime').lifecycleTracker.addDisposeHook(() => {
sm.purgeUnusedSceneSwitchItems();
tm.cancelAll();
});
});