Add reformatted vehicle file

soundtrack
Ensar Sarajčić 2021-11-19 18:42:35 +01:00
parent 1a408468b1
commit 9b53a138fa
1 changed files with 7 additions and 1 deletions

View File

@ -144,7 +144,13 @@ func _physics_process(delta: float):
throttle = brake_input
brake_input = swap
if GlobalSettings.automatic_transmission and speed >= 0 and speed < 1 and gear == 1 and brake_input > 0.1:
if (
GlobalSettings.automatic_transmission
and speed >= 0
and speed < 1
and gear == 1
and brake_input > 0.1
):
_gear_down()
_gear_down()