mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Fixed error detected by mypy
This commit is contained in:
parent
df74f7c6c7
commit
07ce20fd29
@ -280,7 +280,7 @@ class LocationFinder:
|
||||
# Check if on land or sea
|
||||
p = PointWithHeading.from_point(near.random_point_within(max_range, min_range), random.randint(0, 360))
|
||||
if is_valid(p):
|
||||
return
|
||||
return p
|
||||
return None
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user