From 327b0d664bc84b35f933de65f9fe95a199596957 Mon Sep 17 00:00:00 2001 From: ulteq Date: Fri, 15 Jan 2016 17:30:09 +0100 Subject: [PATCH] [Codechange] Reverts the latest changes to the battery light The battery light should go off, once the engine is running (and the alternator kicks in) --- source/main/physics/Beam.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main/physics/Beam.cpp b/source/main/physics/Beam.cpp index 3a6afcd566..6403ef4a7b 100644 --- a/source/main/physics/Beam.cpp +++ b/source/main/physics/Beam.cpp @@ -5231,7 +5231,7 @@ void Beam::updateDashBoards(float &dt) dash->setBool(DD_ENGINE_IGNITION, ign); // battery - bool batt = engine->contact; + bool batt = (engine->contact && !engine->running); dash->setBool(DD_ENGINE_BATTERY, batt); // clutch warning