Fixed some errors
This commit is contained in:
parent
87919ed890
commit
e6a47a4772
9 changed files with 32 additions and 32 deletions
|
|
@ -14,9 +14,10 @@ extends State
|
|||
var step_time: float
|
||||
|
||||
func _enter() -> void:
|
||||
player_input.jumped.connect(on_jumped)
|
||||
player_input.crouch_begin.connect(begin_crouch)
|
||||
player_input.walk_begin.connect(begin_walk)
|
||||
if Session.is_server_request():
|
||||
player_input.jumped.connect(on_jumped)
|
||||
player_input.crouch_begin.connect(begin_crouch)
|
||||
player_input.walk_begin.connect(begin_walk)
|
||||
|
||||
func _exit() -> void:
|
||||
player_input.jumped.disconnect(on_jumped)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue