scene apply preparations

This commit is contained in:
Jacob Salvi 2020-04-26 11:15:05 +02:00
parent 07f4a8ee43
commit cce1650bd9

View File

@ -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;