Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 0c329fa8 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

Merge pull request #234 in VECTO/vecto-sim from ~EMQUARIMA/vecto-sim:master to master

* commit 'd20e15a8':
  bugfix in gearbox: disengage when vehicle is stopped
parents 36128aa6 d20e15a8
No related branches found
No related tags found
No related merge requests found
......@@ -479,7 +479,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
}
}
if (DataBus.VehicleStopped) {
Disengaged = false;
Disengaged = true;
_engageTime = -double.MaxValue.SI<Second>();
}
AdvanceState();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment