From 0f7df6e037b5fe83af1c061f0d3877c85bc928bc Mon Sep 17 00:00:00 2001
From: Michael Enion <caewok_2000@yahoo.com>
Date: Sun, 6 Oct 2024 12:52:44 +0200
Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix|TokenSpeed|Update=20the=20Mo?=
 =?UTF-8?q?vePenalty=20token=20speed=20call?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 scripts/token_speed.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/token_speed.js b/scripts/token_speed.js
index 2c71825..e67d456 100644
--- a/scripts/token_speed.js
+++ b/scripts/token_speed.js
@@ -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();