Fix bug with importing chase cars from sondehub

master
Mark Jessop 2022-10-01 21:37:25 +09:30
rodzic beb9db5b4e
commit c3d371ac39
2 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -8,4 +8,4 @@
# Now using Semantic Versioning (https://semver.org/) MAJOR.MINOR.PATCH
__version__ = "1.5.0"
__version__ = "1.5.1"

Wyświetl plik

@ -56,6 +56,13 @@ function handleSondeHubWebSocketPacket(data){
} else {
// Otherwise, we need to decide if we're going to add it or not.
// Is it us?
if(vcallsign.startsWith(chase_config.habitat_call)){
// Don't add!
return;
}
// Determine the vehicle distance from our current position.
var v_pos = {lat: v_lat, lon:v_lon, alt:v_alt};
if (chase_car_position.marker === "NONE"){