From d3aeb39fa986aee2355e8dbad5bdc6dfb4075d59 Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Sun, 14 Mar 2021 13:47:36 -0400 Subject: [PATCH] prevent new animation when running animation --- src/mode/cam/client.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mode/cam/client.js b/src/mode/cam/client.js index c21a3ccc..c5402b50 100644 --- a/src/mode/cam/client.js +++ b/src/mode/cam/client.js @@ -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"); }