Speed in config.js doesn't do anything
dragongoose opened this issue · comments
gwibbles! commented
i cant get the speed config to work no matter what i set it to its always slow.
poposita commented
in playerCell.js change the getSpeed() function fot this
getSpeed(dist) {
var speed = 2.2 * Math.pow(this._size, -0.439);
speed *= 40 * this.server.config.playerSpeed;
return Math.min(dist, speed) / dist;
};
gwibbles! commented
in playerCell.js change the getSpeed() function fot this
getSpeed(dist) { var speed = 2.2 * Math.pow(this._size, -0.439); speed *= 40 * this.server.config.playerSpeed; return Math.min(dist, speed) / dist; };
Thanks! this worked. someone should really fix it.