From b4d8dfbba75c2e5a2e8b2b72e1a0e3c4d901e403 Mon Sep 17 00:00:00 2001 From: Lucas Wendland <82680922+CursedRock17@users.noreply.github.com> Date: Mon, 14 Oct 2024 09:35:16 -0400 Subject: [PATCH] Error String Filled (#715) Signed-off-by: CursedRock17 --- tf2/src/cache.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tf2/src/cache.cpp b/tf2/src/cache.cpp index 607fc1523..959788a65 100644 --- a/tf2/src/cache.cpp +++ b/tf2/src/cache.cpp @@ -122,9 +122,7 @@ uint8_t TimeCache::findClosest( // No values stored if (storage_.empty()) { - if (error_code) { - *error_code = TF2Error::TF2_NO_DATA_FOR_EXTRAPOLATION_ERROR; - } + cache::createExtrapolationException1(target_time, TimePoint(), error_str, error_code); return 0; }