Регрессия. Поворот по курсу

This commit is contained in:
MaD_CaT
2025-10-31 13:06:49 +03:00
committed by sasha80
parent 0824b2d51b
commit 1fb1e75594

View File

@@ -707,7 +707,7 @@ func set_coordinates(lon: float, lat: float, course: float) -> void:
add_mark_from_lon_lat(ship_id, lon, lat, ship_instance, 0.0)
else:
_marks[ship_id].position = lonlat_to_world(lon, lat)
ship_instance.rotation_degrees = course
ship_instance.rotation_degrees = fmod(270.0 + course, 360.0)
queue_redraw()