diff options
author | metamuffin <metamuffin@disroot.org> | 2024-07-03 17:26:20 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-03 17:26:20 +0200 |
commit | bb7e2bc3967779ab43cb87465e66f5bf6dcb1c56 (patch) | |
tree | 8f4cc6265029a5e2868e116339d7cf7a59801ced /client/player | |
parent | a4c0ac371157bf31ea0693b55b01d39b8d20cfb5 (diff) | |
download | hurrycurry-bb7e2bc3967779ab43cb87465e66f5bf6dcb1c56.tar hurrycurry-bb7e2bc3967779ab43cb87465e66f5bf6dcb1c56.tar.bz2 hurrycurry-bb7e2bc3967779ab43cb87465e66f5bf6dcb1c56.tar.zst |
latch boost
Diffstat (limited to 'client/player')
-rw-r--r-- | client/player/controllable_player.gd | 2 |
1 files changed, 1 insertions, 1 deletions
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_ |