fix for locked camera state issue

This commit is contained in:
Faye Li 2017-04-03 12:14:29 -07:00
parent 8cb771d9a8
commit d726bd352d

View file

@ -188,11 +188,11 @@
}); });
Entities.deleteEntity(this.modelEntityID); Entities.deleteEntity(this.modelEntityID);
photoboothCreated = false; photoboothCreated = false;
Camera.mode = "first person";
}; };
function cleanup() { function cleanup() {
tablet.removeButton(button); tablet.removeButton(button);
Camera.mode = "first person";
PhotoBooth.destroy(); PhotoBooth.destroy();
} }
Script.scriptEnding.connect(cleanup); Script.scriptEnding.connect(cleanup);