MINOR: Track difficulty stars display confusingly on track select screen #9
Labels
No labels
blocked:needs-decision
blocked:no-changes
feature-request
quickfix
test-coverage
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/gravity-racer#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
In
_refreshTrackSelect()(UIManager.js line 487-488), the difficulty is shown as stars. However, all tracks display as if difficulty is 1 because the grid repeat logic is off:Also, the environment type always shows
Deep Spacefor all tracks becausetrack.environmentis never set on the tracks in config.js (they only havetypelike'tutorial','race','expert').Impact
Players see LEO Circuit as 1-star and all other tracks (difficulty 2-6) also as limited stars. Track select screen doesn't communicate environment info.
Fix
environmentproperty on track definitions in config.js