mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fixed error detected by mypy
This commit is contained in:
parent
c92b7240eb
commit
4a0ccc4c2f
@ -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