prevent new animation when running animation

This commit is contained in:
Stewart Allen 2021-03-14 13:47:36 -04:00
commit d3aeb39fa9

View file

@ -42,6 +42,9 @@
// wire up animate button in ui
api.event.on("function.animate", (mode) => {
if (isAnimate) {
return;
}
if (isCamMode && !camStock) {
return api.show.alert("animation requires stock to be enabled");
}