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);
photoboothCreated = false;
Camera.mode = "first person";
};
function cleanup() {
tablet.removeButton(button);
Camera.mode = "first person";
PhotoBooth.destroy();
}
Script.scriptEnding.connect(cleanup);