Update RealMode.cs
This commit is contained in:
@ -165,6 +165,7 @@ namespace DroneSimulator
|
|||||||
if (!Enable)
|
if (!Enable)
|
||||||
{
|
{
|
||||||
result = Vector3.NaN;
|
result = Vector3.NaN;
|
||||||
|
timer = time;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -230,6 +231,7 @@ namespace DroneSimulator
|
|||||||
if (!Enable)
|
if (!Enable)
|
||||||
{
|
{
|
||||||
result = float.NaN;
|
result = float.NaN;
|
||||||
|
timer = time;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -295,6 +297,7 @@ namespace DroneSimulator
|
|||||||
if (!Enable)
|
if (!Enable)
|
||||||
{
|
{
|
||||||
result = Vector2.NaN;
|
result = Vector2.NaN;
|
||||||
|
timer = time;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -364,6 +367,7 @@ namespace DroneSimulator
|
|||||||
if (!Enable)
|
if (!Enable)
|
||||||
{
|
{
|
||||||
result = float.NaN;
|
result = float.NaN;
|
||||||
|
timer = time;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user