From 013375de6cd11b676134803974487a65e9bc3f99 Mon Sep 17 00:00:00 2001 From: Don Cross Date: Thu, 28 Nov 2024 20:59:24 -0500 Subject: [PATCH] Minor future-proofing against logic errors. --- src/sapphire_chaos_module.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sapphire_chaos_module.hpp b/src/sapphire_chaos_module.hpp index 86c2c476..d28bf540 100644 --- a/src/sapphire_chaos_module.hpp +++ b/src/sapphire_chaos_module.hpp @@ -202,7 +202,8 @@ namespace Sapphire const Message* message = receiver.inboundMessage(); if (message != nullptr) { - shouldUpdateCircuit = !message->freeze; + if (message->freeze) + shouldUpdateCircuit = false; if (message->store) {