1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-06-04 08:34:02 +00:00

Bump fast pan speed from 2 to 4

This commit is contained in:
tobspr 2020-06-15 22:29:55 +02:00
parent de33b38bbf
commit 32d169b7db

View File

@ -903,7 +903,7 @@ export class Camera extends BasicSerializableObject {
let movementSpeed =
this.root.app.settings.getMovementSpeed() *
(actionMapper.getBinding(KEYMAPPINGS.navigation.mapMoveFaster).isCurrentlyPressed() ? 2 : 1);
(actionMapper.getBinding(KEYMAPPINGS.navigation.mapMoveFaster).isCurrentlyPressed() ? 4 : 1);
this.center.x += moveAmount * forceX * movementSpeed;
this.center.y += moveAmount * forceY * movementSpeed;