random variation in speed in Time Progress battle system

It seems like there's a random element to everyone's starting gauge. Is there an easy line in the code to change so that it's simply based on a character's speed, and there isn't any random variation?
From this line in rmmz_object.js:
Code:
from:    this._tpbChargeTime = advantageous ? 1 : speed * Math.random() * 0.5;

Remove this last part:
Code:
 * Math.random() * 0.5;
worked, thank you!

Original thread: https://forums.rpgmakerweb.com/threads/random-variation-in-speed-in-time-progress-battle-system.126442/