@quenty/idleservice 13.7.0-canary.490.601c967.0 → 13.7.1-canary.491.adb5527.0

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,12 +3,25 @@
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
- # [13.7.0-canary.490.601c967.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/idleservice@13.6.0...@quenty/idleservice@13.7.0-canary.490.601c967.0) (2024-08-27)
6
+ ## [13.7.1-canary.491.adb5527.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/idleservice@13.7.0...@quenty/idleservice@13.7.1-canary.491.adb5527.0) (2024-08-27)
7
+
8
+ **Note:** Version bump only for package @quenty/idleservice
9
+
10
+
11
+
12
+
13
+
14
+ # [13.7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/idleservice@13.6.1...@quenty/idleservice@13.7.0) (2024-08-09)
15
+
16
+ **Note:** Version bump only for package @quenty/idleservice
17
+
7
18
 
8
19
 
9
- ### Features
10
20
 
11
- * Handle humanoid tracker not having a value (Happens in studio hot reloading) ([2ebf6d9](https://github.com/Quenty/NevermoreEngine/commit/2ebf6d95a6ffe8563ec315b4cdc0be4d38dbd840))
21
+
22
+ ## [13.6.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/idleservice@13.6.0...@quenty/idleservice@13.6.1) (2024-07-16)
23
+
24
+ **Note:** Version bump only for package @quenty/idleservice
12
25
 
13
26
 
14
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/idleservice",
3
- "version": "13.7.0-canary.490.601c967.0",
3
+ "version": "13.7.1-canary.491.adb5527.0",
4
4
  "description": "Helps track whether or not a player is idle and if so, then can show UI or other cute things.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -27,19 +27,19 @@
27
27
  "Quenty"
28
28
  ],
29
29
  "dependencies": {
30
- "@quenty/baseobject": "10.4.0-canary.490.601c967.0",
31
- "@quenty/humanoidtracker": "13.4.0-canary.490.601c967.0",
32
- "@quenty/loader": "10.4.0-canary.490.601c967.0",
30
+ "@quenty/baseobject": "10.3.0",
31
+ "@quenty/humanoidtracker": "13.4.0",
32
+ "@quenty/loader": "10.3.0",
33
33
  "@quenty/maid": "3.2.0",
34
- "@quenty/ragdoll": "15.7.0-canary.490.601c967.0",
35
- "@quenty/rx": "13.4.0-canary.490.601c967.0",
36
- "@quenty/servicebag": "11.5.0-canary.490.601c967.0",
37
- "@quenty/statestack": "14.5.0-canary.490.601c967.0",
38
- "@quenty/valuebaseutils": "13.4.0-canary.490.601c967.0",
39
- "@quenty/valueobject": "13.4.0-canary.490.601c967.0"
34
+ "@quenty/ragdoll": "15.7.1-canary.491.adb5527.0",
35
+ "@quenty/rx": "13.4.0",
36
+ "@quenty/servicebag": "11.4.0",
37
+ "@quenty/statestack": "14.5.0",
38
+ "@quenty/valuebaseutils": "13.4.0",
39
+ "@quenty/valueobject": "13.4.0"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "601c9671f09638be4f326e41fcfe3343ccfe76d8"
44
+ "gitHead": "adb55278c70c19c3ef22a9ee6c00e8b82337aaaf"
45
45
  }
@@ -34,8 +34,7 @@ function IdleServiceClient:Init(serviceBag)
34
34
 
35
35
  -- External
36
36
  self._serviceBag:GetService(require("RagdollServiceClient"))
37
- self._serviceBag:GetService(require("HumanoidTrackerService"))
38
-
37
+ self._humanoidTracker = self._serviceBag:GetService(require("HumanoidTrackerService")):GetHumanoidTracker()
39
38
  self._ragdollBinder = self._serviceBag:GetService(RagdollClient)
40
39
 
41
40
  -- Configure
@@ -57,20 +56,16 @@ function IdleServiceClient:Start()
57
56
  self:_updateShowIdleUI()
58
57
  end))
59
58
 
60
- self._humanoidTracker = self._serviceBag:GetService(require("HumanoidTrackerService")):GetHumanoidTracker()
61
- if self._humanoidTracker then
62
- self._maid:GiveTask(self._humanoidTracker.AliveHumanoid.Changed:Connect(function(...)
63
- self:_handleAliveHumanoidChanged(...)
64
- end))
65
- self._maid:GiveTask(self._disableStack.Changed:Connect(function()
66
- self._enabled.Value = not self._disableStack:GetState()
67
- end))
68
-
69
- if self._humanoidTracker.AliveHumanoid.Value then
70
- self:_handleAliveHumanoidChanged()
71
- end
72
- end
59
+ self._maid:GiveTask(self._humanoidTracker.AliveHumanoid.Changed:Connect(function(...)
60
+ self:_handleAliveHumanoidChanged(...)
61
+ end))
62
+ self._maid:GiveTask(self._disableStack.Changed:Connect(function()
63
+ self._enabled.Value = not self._disableStack:GetState()
64
+ end))
73
65
 
66
+ if self._humanoidTracker.AliveHumanoid.Value then
67
+ self:_handleAliveHumanoidChanged()
68
+ end
74
69
  self:_updateShowIdleUI()
75
70
  end
76
71