Skip to content

Commit

Permalink
Merge branch 'feature/token-speed-highlighting' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
caewok committed Oct 6, 2024
2 parents aacfc34 + 0f7df6e commit 5a35a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/token_speed.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function tokenSpeedSegmentSplitter(ruler, token) {
// Precalculate the token speed.
// We need the speed without the terrains. Use the MovePenalty to determine.
const mp = ruler._movePenaltyInstance ??= new MovePenalty(token);
const tokenSpeed = mp._tokenCloneSpeed; // SPEED.tokenSpeed(token);
const tokenSpeed = mp.baseTokenSpeed;

// Progress through each speed attribute in turn.
const categoryIter = [...SPEED.CATEGORIES].values();
Expand Down

0 comments on commit 5a35a51

Please sign in to comment.