fix aircraft not being cleared off the map

This commit is contained in:
Matthias Wirth
2022-07-26 13:40:26 +02:00
parent 9e50567cf9
commit dc2af3d243
2 changed files with 2 additions and 2 deletions

View File

@@ -5226,8 +5226,8 @@ function mapRefresh(redraw) {
} else {
for (let i in g.planesOrdered) {
const plane = g.planesOrdered[i];
addToMap.push(plane);
delete plane.glMarker;
addToMap.push(plane);
}
}