fixed issue with node positions being set to none, when a position is not provided in an update message
This commit is contained in:
parent
0fc40cd96b
commit
6dbce144f9
1 changed files with 2 additions and 1 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…
Reference in a new issue