Fixed QueryInfo parsing error.

This commit is contained in:
Axel1092 2020-07-02 16:29:49 +02:00 committed by Axel1092
parent bdc5edd2e6
commit 6ea32e4e98
1 changed files with 1 additions and 2 deletions

View File

@ -395,8 +395,7 @@ std::string CarlaRecorderQuery::QueryInfo(std::string Filename, bool bShowAll)
case static_cast<char>(CarlaRecorderPacketId::PlatformTime):
if (bShowAll)
{
ReadValue<uint16_t>(File, Total);
if (Total > 0 && !bFramePrinted)
if (!bFramePrinted)
{
PrintFrame(Info);
bFramePrinted = true;