Skip to content

Commit

Permalink
fix: make ammo type optional
Browse files Browse the repository at this point in the history
  • Loading branch information
🐸 committed Jul 2, 2023
1 parent 05cabd2 commit f6299fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/files/mission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ const planeUnitSchema = z.object({
pylons: z.object({}),
fuel: z.string(),
flare: z.number(),
ammo_type: z.number(),
ammo_type: z.number().optional(),
chaff: z.number(),
gun: z.number(),
}),
Expand Down

0 comments on commit f6299fd

Please sign in to comment.