@quenty/idleservice 13.6.1-canary.478.34e8ede.0 → 13.6.1-canary.523.ca7cac7.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,9 @@
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.6.1-canary.478.34e8ede.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/idleservice@13.6.0...@quenty/idleservice@13.6.1-canary.478.34e8ede.0) (2024-08-27)
6
+ ## [13.6.1-canary.523.ca7cac7.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/idleservice@13.6.0...@quenty/idleservice@13.6.1-canary.523.ca7cac7.0) (2024-12-10)
7
7
 
8
-
9
- ### Features
10
-
11
- * Handle humanoid tracker not having a value (Happens in studio hot reloading) ([2ebf6d9](https://github.com/Quenty/NevermoreEngine/commit/2ebf6d95a6ffe8563ec315b4cdc0be4d38dbd840))
8
+ **Note:** Version bump only for package @quenty/idleservice
12
9
 
13
10
 
14
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/idleservice",
3
- "version": "13.6.1-canary.478.34e8ede.0",
3
+ "version": "13.6.1-canary.523.ca7cac7.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.3.1-canary.478.34e8ede.0",
31
- "@quenty/humanoidtracker": "13.3.1-canary.478.34e8ede.0",
32
- "@quenty/loader": "10.3.1-canary.478.34e8ede.0",
30
+ "@quenty/baseobject": "10.3.0",
31
+ "@quenty/humanoidtracker": "13.3.0",
32
+ "@quenty/loader": "10.3.0",
33
33
  "@quenty/maid": "3.2.0",
34
- "@quenty/ragdoll": "15.6.1-canary.478.34e8ede.0",
35
- "@quenty/rx": "13.3.1-canary.478.34e8ede.0",
36
- "@quenty/servicebag": "11.4.1-canary.478.34e8ede.0",
37
- "@quenty/statestack": "14.4.1-canary.478.34e8ede.0",
38
- "@quenty/valuebaseutils": "13.3.1-canary.478.34e8ede.0",
39
- "@quenty/valueobject": "13.3.1-canary.478.34e8ede.0"
34
+ "@quenty/ragdoll": "15.6.1-canary.523.ca7cac7.0",
35
+ "@quenty/rx": "13.3.0",
36
+ "@quenty/servicebag": "11.4.0",
37
+ "@quenty/statestack": "14.4.0",
38
+ "@quenty/valuebaseutils": "13.3.0",
39
+ "@quenty/valueobject": "13.3.0"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "34e8edee97fa93a0a5bd84442b85826082444f2a"
44
+ "gitHead": "ca7cac7f2b5b255bf548c7373890432f3fc23221"
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