Fix cover count
This commit is contained in:
parent
a7b8547821
commit
7073aa6d0f
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in New Issue