From d19b25c0372c7610aafea4a5610465e6674c6d5b Mon Sep 17 00:00:00 2001
From: Markus Quaritsch <quaritsch@ivt.tugraz.at>
Date: Tue, 7 Feb 2023 06:51:59 +0100
Subject: [PATCH] correcting typo: use prepared return value

---
 .../Models/SimulationComponent/Strategies/HybridStrategy.cs     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Strategies/HybridStrategy.cs b/VectoCore/VectoCore/Models/SimulationComponent/Strategies/HybridStrategy.cs
index 323d8401a4..5938e7903f 100644
--- a/VectoCore/VectoCore/Models/SimulationComponent/Strategies/HybridStrategy.cs
+++ b/VectoCore/VectoCore/Models/SimulationComponent/Strategies/HybridStrategy.cs
@@ -921,7 +921,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Strategies
 				if (offResponse.Source is ATGearbox && offResponse is ResponseOverload && GearList.HasPredecessor(nextGear)) {
 					off.Gear = GearList.Predecessor(nextGear);
 				}
-				eval.Add(ResponseEmOff);
+				eval.Add(off);
 				return;
 			}
 
-- 
GitLab