Skip to content

Commit

Permalink
Bump fast pan speed from 2 to 4
Browse files Browse the repository at this point in the history
  • Loading branch information
tobspr committed Jun 15, 2020
1 parent de33b38 commit 32d169b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/game/camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 32d169b

Please sign in to comment.