Skip to content

Commit 5504db9

Browse files
Dekkonotgithub-actions[bot]
authored andcommitted
(0.651.0.6510833)
1 parent fa0f0bd commit 5504db9

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

src/RbxCharacterSounds/init.client.lua

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ local function loadFlag(flag: string)
1414
end
1515

1616
local FFlagUserSoundsUseRelativeVelocity = loadFlag('UserSoundsUseRelativeVelocity2')
17+
local FFlagFixFreeFallingSound = loadFlag('UserFixFreeFallingSound')
1718

1819
local SOUND_DATA : { [string]: {[string]: any}} = {
1920
Climbing = {
@@ -24,7 +25,9 @@ local SOUND_DATA : { [string]: {[string]: any}} = {
2425
SoundId = "rbxasset://sounds/uuhhh.mp3",
2526
},
2627
FreeFalling = {
27-
SoundId = "rbxasset://sounds/action_falling.mp3",
28+
SoundId = if FFlagFixFreeFallingSound
29+
then "rbxasset://sounds/action_falling.ogg"
30+
else "rbxasset://sounds/action_falling.mp3",
2831
Looped = true,
2932
},
3033
GettingUp = {
@@ -159,6 +162,12 @@ local function initializeSoundSystem(instances)
159162
[Enum.HumanoidStateType.Freefall] = function()
160163
sounds.FreeFalling.Volume = 0
161164
stopPlayingLoopedSounds(sounds.FreeFalling)
165+
if FFlagFixFreeFallingSound then
166+
sounds.FreeFalling.Looped = true
167+
sounds.FreeFalling.PlaybackRegionsEnabled = true
168+
sounds.FreeFalling.LoopRegion = NumberRange.new(2, 9)
169+
playSound(sounds.FreeFalling)
170+
end
162171
playingLoopedSounds[sounds.FreeFalling] = true
163172
end,
164173

src/VersionInfo.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "0.649.0.6490878",
3-
"guid": "version-7cc6d2bdac2f4837"
2+
"version": "0.651.0.6510833",
3+
"guid": "version-e0a840597ded474b"
44
}

wally.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "upliftgames/rbxcharactersounds"
3-
version = "649.0.6490878"
3+
version = "651.0.6510833"
44
registry = "https://github.com/UpliftGames/wally-index"
55
realm = "shared"
66

0 commit comments

Comments
 (0)