mirror of
https://github.com/FOSS-Supremacy/OpenLiberty.git
synced 2025-04-28 20:07:57 +03:00
Update scripts/gameplay/vehicles/VehicleTemplate.gd
Co-authored-by: Ribbon <55782009+hardBSDk@users.noreply.github.com>
This commit is contained in:
parent
7a50a0fe77
commit
28046b804b
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ func _physics_process(delta):
|
|||
else:
|
||||
player_can_interact = false
|
||||
|
||||
if Input.is_action_just_pressed("btn_interact_car") and player != null:
|
||||
if Input.is_action_just_pressed("enter_car") and player != null:
|
||||
if state == VehicleState.STOPPED:
|
||||
if player_can_interact:
|
||||
state = VehicleState.PLAYER_DRIVING
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue