From 2844615fdc37699f35f7426a490d3a86caf225e9 Mon Sep 17 00:00:00 2001 From: in1tiate <32779090+in1tiate@users.noreply.github.com> Date: Fri, 17 May 2024 05:54:06 -0500 Subject: [PATCH] fix add statement off by one (#357) --- core/src/testimony_recorder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/testimony_recorder.cpp b/core/src/testimony_recorder.cpp index f584df1..cae278c 100644 --- a/core/src/testimony_recorder.cpp +++ b/core/src/testimony_recorder.cpp @@ -44,7 +44,7 @@ void AOClient::addStatement(QStringList packet) } else if (area->testimonyRecording() == AreaData::TestimonyRecording::ADD) { packet[14] = "1"; - area->addStatement(c_statement, packet); + area->addStatement(c_statement + 1, packet); area->setTestimonyRecording(AreaData::TestimonyRecording::PLAYBACK); } else {