diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs index f7639657600ed376118ddfc09b74b9922b652604..7bc8ff27cbc67d64c2872e66baeffdfade52c0bc 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/Gearbox.cs @@ -525,6 +525,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl protected override bool DoUpdateFrom(object other) { if (other is Gearbox g) { PreviousState = g.PreviousState.Clone(); + LastShift = g.LastShift; return true; } return false;