Merge branch 'master' into cleanup/codacy-cleanup

This commit is contained in:
bharnden 2018-10-18 16:21:05 -07:00 committed by GitHub
commit a7bc7500fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 53 additions and 63 deletions

View file

@ -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: