Merge branch 'master' into cleanup/codacy-cleanup
This commit is contained in:
commit
a7bc7500fb
7 changed files with 53 additions and 63 deletions
|
@ -583,7 +583,8 @@ class EmuSession(Session):
|
|||
x, y, _ = self.location.getxyz(lat, lon, alt)
|
||||
|
||||
# set position and broadcast
|
||||
node.setposition(x, y, None)
|
||||
if None not in [x, y]:
|
||||
node.setposition(x, y, None)
|
||||
|
||||
# broadcast updated location when using lat/lon/alt
|
||||
if using_lat_lon_alt:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue