Skip to content

Commit

Permalink
Error String Filled (#715)
Browse files Browse the repository at this point in the history
Signed-off-by: CursedRock17 <mtglucas1@gmail.com>
  • Loading branch information
CursedRock17 authored Oct 14, 2024
1 parent efc7845 commit b4d8dfb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tf2/src/cache.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit b4d8dfb

Please sign in to comment.