Update Drone.cs

This commit is contained in:
2025-06-30 11:37:54 +03:00
parent edc86c0106
commit 3ce096ba33

View File

@ -350,7 +350,7 @@ namespace DroneSimulator
RealBar.Update(PosXYZ.Z, tick);
RealPos.Update(PosXYZ, tick);
bool of = RealOF.Update(new Vector2(SpdXYZ.X * range - Gyr.Y, SpdXYZ.Y * range + Gyr.X), LaserRange, tick);
bool of = RealOF.Update(new Vector2(SpdXYZ.X / range - Gyr.Y, SpdXYZ.Y / range + Gyr.X), LaserRange, tick);
if(of) lock (this)
{