summaryrefslogtreecommitdiff
path: root/src/game/GameController.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/GameController.cpp')
-rw-r--r--src/game/GameController.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/GameController.cpp b/src/game/GameController.cpp
index 1fd813c..1928a0b 100644
--- a/src/game/GameController.cpp
+++ b/src/game/GameController.cpp
@@ -753,8 +753,7 @@ void GameController::SwitchAir()
void GameController::ToggleAHeat()
{
- gameModel->GetSimulation()->aheat_enable = !gameModel->GetSimulation()->aheat_enable;
- gameModel->UpdateQuickOptions();
+ gameModel->SetAHeatEnable(!gameModel->GetAHeatEnable());
}