mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
fix for wrong patrol speed
(cherry picked from commit 04cdb6fbfc2760b327e06c800b16cd4520a964f1)
This commit is contained in:
parent
86f9ab26e0
commit
0aef7a1c80
@ -98,7 +98,7 @@ class PatrolConfig:
|
||||
@classmethod
|
||||
def from_data(cls, data: dict[str, Any]) -> PatrolConfig:
|
||||
altitude = data.get("altitude", None)
|
||||
speed = data.get("altitude", None)
|
||||
speed = data.get("speed", None)
|
||||
return PatrolConfig(
|
||||
feet(altitude) if altitude is not None else None,
|
||||
knots(speed) if speed is not None else None,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user