mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-27 07:29:33 +00:00
Telem fix
This commit is contained in:
@@ -131,8 +131,8 @@ def check_start_pos(item, context):
|
||||
if context.current_position is None:
|
||||
return item != 'NO_POS' # maybe should return true
|
||||
|
||||
delta = get_distance(get_position(context.current_position),
|
||||
get_position(context.start_position))
|
||||
delta = get_distance(get_position(context.current_position[:2]),
|
||||
get_position(context.start_position[:2]))
|
||||
if math.isnan(delta):
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user