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;
|
||||
|
||||
case "SCENE_APPLY":
|
||||
//checking that the scene actually exists
|
||||
if (!(action.sceneId in previousState.scenes)) {
|
||||
console.warn(`Scene ${action.sceneId} does not exist`);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue