Skip to content

Commit

Permalink
Merge pull request #94 from AndreKlang/facility-list-region
Browse files Browse the repository at this point in the history
Fixed bug where region in facility list was lost
  • Loading branch information
EvenAR authored Dec 22, 2023
2 parents 179c8ce + 97dd808 commit faf9ed0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/datastructures/FacilityAirport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ import { RawBuffer } from '../RawBuffer';
export class FacilityAirport {
icao: string;

region: string;

latitude: number;

longitude: number;

altitude: number;

constructor(data: RawBuffer) {
this.icao = data.readString(9);
this.icao = data.readString(6);
this.region = data.readString(3);
this.latitude = data.readFloat64();
this.longitude = data.readFloat64();
this.altitude = data.readFloat64();
Expand Down

0 comments on commit faf9ed0

Please sign in to comment.