From 302e1009d6b41d9f41a426eeb0b9988c1130c55f Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Fri, 10 Jan 2025 11:17:14 +0100 Subject: [PATCH] spacer: Fix computations on multiple systems --- apps/spacer/spacer.app.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/spacer/spacer.app.js b/apps/spacer/spacer.app.js index d66defaf6..95f2ab426 100644 --- a/apps/spacer/spacer.app.js +++ b/apps/spacer/spacer.app.js @@ -211,6 +211,7 @@ let skys = { return this.qualest(); }, onEnd: function () { + this.trackSatelliteVisibility(); if (this.sats_used < 5) this.sky_start = getTime(); this.reset(); @@ -346,9 +347,13 @@ let sky = { this.msg.bd = {}; this.msg.gl = {}; this.onMessageEnd(); - this.all.trackSatelliteVisibility(); //print(this.sats); this.all.onEnd(); + if (this.split) { + this.s_gp.onEnd(); + this.s_gl.onEnd(); + this.s_bd.onEnd(); + } }, parseRaw: function(msg, lost) { //print(msg);