scene apply preparations
This commit is contained in:
parent
07f4a8ee43
commit
cce1650bd9
1 changed files with 1 additions and 0 deletions
|
@ -380,6 +380,7 @@ function reducer(previousState, action) {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "SCENE_APPLY":
|
case "SCENE_APPLY":
|
||||||
|
//checking that the scene actually exists
|
||||||
if (!(action.sceneId in previousState.scenes)) {
|
if (!(action.sceneId in previousState.scenes)) {
|
||||||
console.warn(`Scene ${action.sceneId} does not exist`);
|
console.warn(`Scene ${action.sceneId} does not exist`);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue