Skip to content

Commit

Permalink
Set default values for crouch and sprint in the script
Browse files Browse the repository at this point in the history
  • Loading branch information
Zakarya committed Jul 2, 2024
1 parent 1f9bbd7 commit 28becd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/fpc/character.gd
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ extends CharacterBody3D
@export var FORWARD : String = "ui_up"
@export var BACKWARD : String = "ui_down"
@export var PAUSE : String = "ui_cancel"
@export var CROUCH : String
@export var SPRINT : String
@export var CROUCH : String = "crouch"
@export var SPRINT : String = "sprint"

# Uncomment if you want full controller support
#@export var LOOK_LEFT : String
Expand Down

0 comments on commit 28becd8

Please sign in to comment.