Fix cover count

This commit is contained in:
Ryan Dwyer 2023-05-15 20:18:49 +10:00
parent a7b8547821
commit 7073aa6d0f
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ class App():
output = bytes()
output += len(self.json['pads']).to_bytes(4, 'big')
output += len(self.json['cover']).to_bytes(4, 'big')
output += len([c for c in self.json['cover'] if not c['special']]).to_bytes(4, 'big')
output += waypoints_start.to_bytes(4, 'big')
output += waygroups_start.to_bytes(4, 'big')
output += cover_start.to_bytes(4, 'big')