@quenty/ragdoll 9.27.0 → 9.27.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [9.27.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/ragdoll@9.27.0...@quenty/ragdoll@9.27.1) (2023-06-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* Fix infinite death loop ([e4ea3e9](https://github.com/Quenty/NevermoreEngine/commit/e4ea3e9d7b6d9b6f07fd5f16f2690e89413be337))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [9.27.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/ragdoll@9.26.0...@quenty/ragdoll@9.27.0) (2023-06-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @quenty/ragdoll
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/ragdoll",
|
|
3
|
-
"version": "9.27.
|
|
3
|
+
"version": "9.27.1",
|
|
4
4
|
"description": "Quenty's Ragdoll system for Roblox - Floppy fun ragdolls",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"access": "public"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "b000954278ce9d27986b2ab5014fa6f4f7d883c0"
|
|
59
59
|
}
|
|
@@ -141,15 +141,21 @@ function RxRagdollUtils.enforceHumanoidState(humanoid)
|
|
|
141
141
|
-- changes to your humanoid's state.
|
|
142
142
|
|
|
143
143
|
maid._keepAsPhysics = humanoid.StateChanged:Connect(function(_old, new)
|
|
144
|
-
if new ~= Enum.HumanoidStateType.Physics
|
|
144
|
+
if new ~= Enum.HumanoidStateType.Physics
|
|
145
|
+
and new ~= Enum.HumanoidStateType.Dead then
|
|
146
|
+
|
|
145
147
|
humanoid:ChangeState(Enum.HumanoidStateType.Physics)
|
|
146
148
|
end
|
|
147
149
|
end)
|
|
148
150
|
|
|
149
151
|
maid:GiveTask(function()
|
|
150
152
|
maid._keepAsPhysics = nil
|
|
151
|
-
|
|
153
|
+
|
|
154
|
+
if humanoid:GetState() ~= Enum.HumanoidStateType.Dead then
|
|
155
|
+
humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
|
|
156
|
+
end
|
|
152
157
|
end)
|
|
158
|
+
|
|
153
159
|
return maid
|
|
154
160
|
end
|
|
155
161
|
|