diff --git a/landing-stats/addon-main.nas b/landing-stats/addon-main.nas index d86e94e..2cb0b24 100644 --- a/landing-stats/addon-main.nas +++ b/landing-stats/addon-main.nas @@ -25,9 +25,9 @@ var printRolloutStats = func() var gndTimer = maketimer(1, func() { - c_t = dist_from_center_thr(); - dist_c = c_t[0]; - totalDev = rolloutStats[0] * rolloutStats[1] + dist_c; + var c_t = dist_from_center_thr(); + var dist_c = c_t[0]; + var totalDev = rolloutStats[0] * rolloutStats[1] + dist_c; rolloutStats[0] = rolloutStats[0] + 1; rolloutStats[1] = totalDev / rolloutStats[0]; if (dist_c > rolloutStats[2])