From ae02a4755d9e9b9c10f0c33919049e810b2590e0 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 20 Nov 2026 07:02:48 +0100 Subject: [PATCH] BodyPainBox: drop the first-break guard, which no run can reach BodyPainBoxSession ends within 1 s of the withdrawal and a mend takes about 60 s, so no second break occurs in its flow and no test can reach one. The guard was dead defence (finding body-pain-box-first-break-guard-unpinned, the drop option); PainBoxSession, which can be ticked past a mend, holds the real guard. Co-Authored-By: Claude Sonnet 5.5 --- src/BadDay.Ymir/BodyPainBox.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BadDay.Ymir/BodyPainBox.cs b/src/BadDay.Ymir/BodyPainBox.cs index 9b2c103..7e04122 100644 --- a/src/BadDay.Ymir/BodyPainBox.cs +++ b/src/BadDay.Ymir/BodyPainBox.cs @@ -194,7 +194,7 @@ public sealed class BodyPainBoxSession : IDisposable _hand = sample; if (!ticked) return; - if ((events & TickEvents.WillBroke) != 0 && _breakTick < 0) _breakTick = tick; // the snap: a later break after a mend is not the first + if ((events & TickEvents.WillBroke) != 0) _breakTick = tick; bool inBox = sample.InBox; if (_breakTick < 0)