Skip to content

Commit

Permalink
Fixed bug where region in facility list was lost (cut of by null term…
Browse files Browse the repository at this point in the history
…inator)
  • Loading branch information
Andre Klang committed Dec 22, 2023
1 parent c36b4b6 commit f70c7fd
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 f70c7fd

Please sign in to comment.