Skip to content

Commit

Permalink
Fix for WeaponType.Auto
Browse files Browse the repository at this point in the history
* DCS seems to generate .miz files with Auto as 9663676414
  • Loading branch information
332fg-raven authored and DanAlbert committed Jan 20, 2024
1 parent 8445761 commit aac7f43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dcs/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ def stop_after_duration(self, duration: int):
self.params["stopCondition"]["duration"] = duration


class WeaponType(Enum):
Auto = 1073741822
class WeaponType(IntEnum):
Auto = 9663676414
NoWeapon = 0
All = 4294967295
Unguided = 805339120
Expand Down

0 comments on commit aac7f43

Please sign in to comment.