Skip to content

Commit

Permalink
Minor future-proofing against logic errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
cosinekitty committed Nov 29, 2024
1 parent 1f88a75 commit 013375d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sapphire_chaos_module.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 013375d

Please sign in to comment.