Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

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

use safetyguard from vectosimulationcomponent when updating combustion engine status

parent 3d2f6562
No related tags found
No related merge requests found
......@@ -236,7 +236,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
#region Implementation of IUpdateable
public override bool UpdateFrom(object other)
protected override bool DoUpdateFrom(object other)
{
if (other is CombustionEngine e) {
PreviousState = e.PreviousState;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment