diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/global.gd | 3 | ||||
-rw-r--r-- | client/player/controllable_player.gd | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/client/global.gd b/client/global.gd index 30edbce5..9d0a376b 100644 --- a/client/global.gd +++ b/client/global.gd @@ -50,7 +50,8 @@ var default_settings := { "voxel_gi": ToggleSetting.new(tr("Use VoxelGI (Blocks the game on map update but is more accurate)"), false), "sdfgi": ToggleSetting.new(tr("Use SDFGI (Doesn't block the game but produces more artifacts)"), false), "grass_amount": RangeSetting.new(tr("3D grass amount per grass tile"), 16, 0, 32), - "setup_complete": ToggleSetting.new(tr("Initial setup complete. (Uncheck and restart to reenter)"), false) + "setup_complete": ToggleSetting.new(tr("Initial setup complete. (Uncheck and restart to reenter)"), false), + "latch_boost": ToggleSetting.new(tr("Always extend boost to maximum duration"), true) } var profile: Dictionary diff --git a/client/player/controllable_player.gd b/client/player/controllable_player.gd index 8ba11097..c4c29566 100644 --- a/client/player/controllable_player.gd +++ b/client/player/controllable_player.gd @@ -65,7 +65,7 @@ func _process(delta): func _process_movement(delta): var input = Input.get_vector("left", "right", "forward", "backwards") - var boost = Input.is_action_pressed("boost") + var boost = Input.is_action_pressed("boost") or (Global.get_setting("latch_boost") and boosting) input = input.rotated( - game.camera.angle_target) position_anim = position_ rotation_anim = rotation_ |