Freighter

This commit is contained in:
Kilian committed 2025-06-15 01:57:28 +02:00
1 parent cbd7d4e0ae
commit 9da2abdad7
32 files changed
+1372 -242

No files matched your search

@@ -5,6 +5,7 @@ const getSimBriefFlightPlan = async (simBriefUsername: string) => {
try {
response = await fetch(flightPlanURL);
success = true;
//eslint-disable-next-line @typescript-eslint/no-explicit-any
} catch (e: any) {
response = e.response;
}
+1 -1
View File
@@ -21,5 +21,5 @@ export const unloadAircraft = () => {
};
export const inRangeOf = (value: number, target: number, tolerance: number = 10) => {
return Math.abs(value - target) < 10;
return Math.abs(value - target) < tolerance;
};