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 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-11-20 07:02:48 +01:00
commit ae02a4755d

View file

@ -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)