Skip to content

Commit

Permalink
fix: handle a/b plkatforms correctly
Browse files Browse the repository at this point in the history
Fixes #51
  • Loading branch information
davwheat committed Nov 6, 2023
1 parent ce02088 commit a4392fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/announcement-data/systems/stations/KeTechPhil.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ export default class KeTechPhil extends StationAnnouncementSystem {

const platFiles: AudioItem[] = []

if (plat <= 12) {
if (plat <= 12 || ['a', 'b'].includes(options.platform.toLowerCase())) {
platFiles.push({ id: `s.platform ${options.platform} for the`, opts: { delayStart: 250 } })
if (options.isDelayed) platFiles.push('m.delayed')
} else {
Expand Down

0 comments on commit a4392fb

Please sign in to comment.