mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Reduce fuel for fast-forwarded player flights.
This only has an effect for aircraft for which we have fuel consumption data, but that's fine. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1681
This commit is contained in:
@@ -5,7 +5,7 @@ import math
|
||||
import random
|
||||
from collections import Iterable
|
||||
from dataclasses import dataclass
|
||||
from typing import Union, Any, TypeVar
|
||||
from typing import TypeVar, Union
|
||||
|
||||
METERS_TO_FEET = 3.28084
|
||||
FEET_TO_METERS = 1 / METERS_TO_FEET
|
||||
@@ -20,6 +20,8 @@ KPH_TO_MS = 1 / MS_TO_KPH
|
||||
INHG_TO_HPA = 33.86389
|
||||
INHG_TO_MMHG = 25.400002776728
|
||||
|
||||
LBS_TO_KG = 0.453592
|
||||
|
||||
|
||||
@dataclass(frozen=True, order=True)
|
||||
class Distance:
|
||||
|
||||
Reference in New Issue
Block a user