diff --git a/latest_color.js b/latest_color.js index 972447a..a399640 100644 --- a/latest_color.js +++ b/latest_color.js @@ -15,6 +15,10 @@ module.exports = { }, set: (new_color) => { + // because sometimes protobuf disconnects and I don't know why + if (new_color.every((n) => n == 0)) { + return; + } latest_color = new_color; }, };