Skip to content

Commit

Permalink
fix: doors opening when accessing ground services page (#9267)
Browse files Browse the repository at this point in the history
* fix: doors opening when opening services page

* added changelog

---------

Co-authored-by: 2hwk <[email protected]>

(cherry picked from commit 418e2d3)
  • Loading branch information
Saschl authored and Benjozork committed Nov 2, 2024
1 parent 73562a2 commit 538f0d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
1. [GENERAL] Fixed issue in C++ WASM Framework that caused performance degradation in some WASM modules - @frankkopp (Frank Kopp)
1. [A380X/FCU] Fixed auto-initialisation of baro unit - @tracernz (Mike)
1. [A380X/FCU] Fix baro-preselect not recognising baro unit changes - @tracernz (Mike)
1. [A380X/EFB] Fixed doors automatically opening in flight

## 0.12.0

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,19 +477,19 @@ export const A380Services: React.FC = () => {
dispatch(setGpuButtonState(ServiceButtonState.DISABLED));
dispatch(setBaggageButtonState(ServiceButtonState.DISABLED));
dispatch(setCateringButtonState(ServiceButtonState.DISABLED));
if (boarding1DoorButtonState === 1) {
if (main1LeftDoorOpen === 1) {
toggleMain1LeftDoor();
}
if (boarding2DoorButtonState === 1) {
if (main2LeftDoorOpen === 1) {
toggleMain2LeftDoor();
}
if (boarding3DoorButtonState === 1) {
if (upper1LeftDoorOpen === 1) {
toggleUpper1LeftDoor();
}
if (serviceDoorButtonState === 1) {
if (main4RightDoorOpen === 1) {
toggleMain4RightDoor();
}
if (cargo1DoorButtonState === 1) {
if (frontCargoDoorOpen === 1) {
toggleFrontCargoDoor();
}
} else if (
Expand Down

0 comments on commit 538f0d7

Please sign in to comment.