Skip to content

fix(parkour): find best times without sorting the player's completions - #970

Open
ugcodrr wants to merge 5 commits into
mainfrom
fix/parkour-best-time
Open

ugcodrr wants to merge 5 commits into
mainfrom
fix/parkour-best-time

Conversation

@ugcodrr

@ugcodrr ugcodrr commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Description: Parkour stats sorted the player's run lists in place, so player status took the fastest run's start as the last parkour time.

  1. Status now takes the newest run across every lobby, and a lobby with no runs no longer throws.

https://github.com/parkour anrie (BedWars lobby: an untimed run, then 41.23s), before and after

https://github.com/parkour anrie (empty Duels lobby), before and after

@vercel

vercel Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
statsify Ignored Ignored Preview Oct 22, 2026 5:56am UTC

@ugcodrr
ugcodrr force-pushed the fix/parkour-best-time branch from 9710974 to f464454 Compare October 19, 2026 03:44
Removed comment about finding the fastest completion in one pass.
Removed unit tests for the Parkour class from index.ts.
Removed Vitest test cases for PlayerStatus from status.ts.
@ugcodrr
ugcodrr requested a review from jacobk999 October 21, 2026 00:55

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant