Skip to content

Commit

Permalink
fix: broken platform alteration announcement
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat committed Mar 10, 2024
1 parent efb505e commit 1c7146e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/announcement-data/systems/stations/AmeyPhil.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4889,7 +4889,8 @@ export default class AmeyPhil extends StationAnnouncementSystem {
}

if ('fromLive' in options) {
files.push( ...getNewPlatFiles(this.BEFORE_SECTION_DELAY),
files.push(
...getNewPlatFiles(this.BEFORE_SECTION_DELAY),
...(await this.getFilesForBasicTrainInfoLive(
options.hour,
options.min,
Expand All @@ -4901,7 +4902,8 @@ export default class AmeyPhil extends StationAnnouncementSystem {
)),
)
} else {
files.push( ...getNewPlatFiles(this.BEFORE_SECTION_DELAY),
files.push(
...getNewPlatFiles(this.BEFORE_SECTION_DELAY),
...(await this.getFilesForBasicTrainInfo(
options.hour,
options.min,
Expand Down

0 comments on commit 1c7146e

Please sign in to comment.