@quenty/resetservice 5.7.0 → 5.7.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
+ ## [5.7.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/resetservice@5.7.0...@quenty/resetservice@5.7.1) (2023-05-31)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * Player can reset while not in game ([fac28fa](https://github.com/Quenty/NevermoreEngine/commit/fac28fa7dce6e1a8c29d1e90b4916c085a05092f))
12
+
13
+
14
+
15
+
16
+
6
17
  # [5.7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/resetservice@5.6.1...@quenty/resetservice@5.7.0) (2023-04-10)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/resetservice
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/resetservice",
3
- "version": "5.7.0",
3
+ "version": "5.7.1",
4
4
  "description": "Handles reset requests since Roblox's reset system doesn't handle ragdolls correctly",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -35,5 +35,5 @@
35
35
  "publishConfig": {
36
36
  "access": "public"
37
37
  },
38
- "gitHead": "3306212248c310731931ad45d8b86dc7247f2a5d"
38
+ "gitHead": "8433331a6acfd8ddbf48e6c76e0ee8621ec98ac6"
39
39
  }
@@ -28,6 +28,10 @@ function ResetService:Init()
28
28
  end
29
29
 
30
30
  function ResetService:_resetCharacterYielding(player)
31
+ if not player:IsDescendantOf(game) then
32
+ return
33
+ end
34
+
31
35
  player:LoadCharacter()
32
36
  end
33
37