From 6c698ebc7284461883c326896f3d14b38a43ec0f Mon Sep 17 00:00:00 2001 From: Petr Mikhalicin Date: Sun, 14 Jul 2024 10:52:15 +0500 Subject: [PATCH] Fix ability to set base time in simple linear test mode --- src/Modes/LinearTestMode.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Modes/LinearTestMode.cpp b/src/Modes/LinearTestMode.cpp index b438119..38b5a6c 100644 --- a/src/Modes/LinearTestMode.cpp +++ b/src/Modes/LinearTestMode.cpp @@ -13,6 +13,9 @@ LinearTestMode::LinearTestMode(bool splitGrade) : kSplit(splitGrade) { void LinearTestMode::switchMode() { m_step = ADD_TO_ENUM(Step, m_step, 1); + if (m_step == Step::baseTime && !kSplit) + m_step = Step::initTime; + m_currentRun = kSplit ? 0 : 1; gTimer.reset(); }