theangryangel/XI4N

livemap is not cleared correctly between 2 races

Closed this issue · 3 comments

livemap2.js has issues when running a replay in loop or perhaps between 2 races too,
that the track and results table is not cleared correctly,
so that after the 2nd start occasionally some additional players still shown on track and list from the end of the race before.

Should be easy to sort, I'll take a look at it when I can :)

Hint
The problem seems to be at the client side javascript.
When I reload the browser during the 2nd race and select the server again, the additional shown racers and results are gone.

Believe this is fixed in 50d1dcf, have also added scavenging support to remove players that have not moved in the last 60 seconds.