Skip to content

Commit

Permalink
Merge pull request #7 from MyrddinoptRoodt/fix_bug_team2FFA
Browse files Browse the repository at this point in the history
fix_bug
  • Loading branch information
MyrddinoptRoodt authored Nov 16, 2021
2 parents aa0cb8b + 37f253e commit e562f3d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,9 @@ void decodeData(uint16_t * Datass){ //this function is to "decode" the data, sin
if (((temp == Blue) or (temp == Red) or (temp == Green) or (temp == White)) and (temp != FFA))
// if (((temp == Blue) or (temp == Red) or (temp == Green) or (temp == White)) and (temp != eigenteam) and (eigenteam != FFA))
{
get_damage(binairy_code.substring(15,17));
if ((temp != eigenteam) and (eigenteam != FFA)){
get_damage(binairy_code.substring(15,17));
}
b = false;
}
if (temp == FFA)
Expand All @@ -486,11 +488,8 @@ void decodeData(uint16_t * Datass){ //this function is to "decode" the data, sin
}
b = false;
}

b = false;

}

}


Expand Down

0 comments on commit e562f3d

Please sign in to comment.