This website works better with JavaScript.
Home
Help
Sign In
ryanreed
/
Skyblock
Watch
1
Star
1
Fork
0
Code
Issues
0
Pull Requests
0
Releases
12
Activity
Browse Source
Fix speed while crouching and under a block but not holding crouch
pull/1/head
Ryan Reed
1 month ago
parent
a4381d972d
commit
1db4fe0831
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
scenes/player/player.gd
+ 1
- 1
scenes/player/player.gd
View File
@ -96,7 +96,7 @@ func set_is_running() -> void:
is_running
=
false
func
set_movement_speed
(
)
-
>
void
:
if
is_crouching
:
if
is_crouching
or
ray_cast_crouch
.
is_colliding
(
)
:
current_speed
=
crouch_speed
elif
is_running
:
current_speed
=
run_speed
Write
Preview
Loading…
Cancel
Save