Fixed a minor bug in DTP2 Output
This commit is contained in:
parent
404798141a
commit
c7a058960e
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ void JSON::Value::netPrepare(){
|
|||
int packID = -1;
|
||||
long long unsigned int time = objVal["time"].asInt();
|
||||
std::string dataType;
|
||||
if (isMember("datatype")){
|
||||
if (isMember("datatype") || isMember("trackid")){
|
||||
dataType = objVal["datatype"].asString();
|
||||
if (isMember("trackid")){
|
||||
packID = objVal["trackid"].asInt();
|
||||
|
|
Loading…
Add table
Reference in a new issue