@quenty/softshutdown 9.8.2 → 9.8.3-canary.499.60b3012.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,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.8.3-canary.499.60b3012.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/softshutdown@9.8.2...@quenty/softshutdown@9.8.3-canary.499.60b3012.0) (2024-09-24)
7
+
8
+
9
+ ### Features
10
+
11
+ * Add PushDisable() to CoreGuiEnabler ([ed08e0e](https://github.com/Quenty/NevermoreEngine/commit/ed08e0e84517940ca82a8a31065c7fd30a8265e3))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [9.8.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/softshutdown@9.8.1...@quenty/softshutdown@9.8.2) (2024-09-22)
7
18
 
8
19
  **Note:** Version bump only for package @quenty/softshutdown
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/softshutdown",
3
- "version": "9.8.2",
3
+ "version": "9.8.3-canary.499.60b3012.0",
4
4
  "description": "This service lets you shut down servers without losing a bunch of players. When game.OnClose is called, the script teleports everyone in the server into a reserved server.",
5
5
  "keywords": [
6
6
  "Roblox",
@@ -29,25 +29,25 @@
29
29
  "access": "public"
30
30
  },
31
31
  "dependencies": {
32
- "@quenty/attributeutils": "^14.5.0",
33
- "@quenty/baseobject": "^10.4.0",
34
- "@quenty/basicpane": "^13.5.0",
35
- "@quenty/bindtocloseservice": "^8.5.0",
36
- "@quenty/blend": "^12.5.2",
37
- "@quenty/clienttranslator": "^14.6.2",
38
- "@quenty/coreguienabler": "^12.5.0",
39
- "@quenty/datastore": "^13.7.1",
40
- "@quenty/loader": "^10.4.0",
41
- "@quenty/maid": "^3.3.0",
42
- "@quenty/math": "^2.7.0",
43
- "@quenty/promise": "^10.4.0",
44
- "@quenty/rx": "^13.5.0",
45
- "@quenty/servicebag": "^11.5.1",
46
- "@quenty/table": "^3.5.0",
47
- "@quenty/teleportserviceutils": "^9.5.0",
48
- "@quenty/uiobjectutils": "^6.4.1",
49
- "@quenty/valuebaseutils": "^13.5.0",
50
- "@quenty/valueobject": "^13.5.0"
32
+ "@quenty/attributeutils": "14.5.1-canary.499.60b3012.0",
33
+ "@quenty/baseobject": "10.4.0",
34
+ "@quenty/basicpane": "13.5.1-canary.499.60b3012.0",
35
+ "@quenty/bindtocloseservice": "8.5.1-canary.499.60b3012.0",
36
+ "@quenty/blend": "12.5.3-canary.499.60b3012.0",
37
+ "@quenty/clienttranslator": "14.6.3-canary.499.60b3012.0",
38
+ "@quenty/coreguienabler": "12.5.1-canary.499.60b3012.0",
39
+ "@quenty/datastore": "13.7.2-canary.499.60b3012.0",
40
+ "@quenty/loader": "10.4.0",
41
+ "@quenty/maid": "3.3.0",
42
+ "@quenty/math": "2.7.0",
43
+ "@quenty/promise": "10.4.0",
44
+ "@quenty/rx": "13.5.1-canary.499.60b3012.0",
45
+ "@quenty/servicebag": "11.5.1",
46
+ "@quenty/table": "3.5.0",
47
+ "@quenty/teleportserviceutils": "9.5.1-canary.499.60b3012.0",
48
+ "@quenty/uiobjectutils": "6.4.2-canary.499.60b3012.0",
49
+ "@quenty/valuebaseutils": "13.5.1-canary.499.60b3012.0",
50
+ "@quenty/valueobject": "13.5.1-canary.499.60b3012.0"
51
51
  },
52
- "gitHead": "1cd1ee70499c9c4a52465d2e5125732b8a10cb27"
52
+ "gitHead": "60b3012c35a2bf7c3c6a01ec440f9d639b9ad0cc"
53
53
  }
@@ -5,7 +5,6 @@
5
5
  local require = require(script.Parent.loader).load(script)
6
6
 
7
7
  local Workspace = game:GetService("Workspace")
8
- local UserInputService = game:GetService("UserInputService")
9
8
  local TeleportService = game:GetService("TeleportService")
10
9
 
11
10
  local AttributeValue = require("AttributeValue")
@@ -155,13 +154,7 @@ function SoftShutdownServiceClient:_showSoftShutdownUI(titleKey, subtitleKey, do
155
154
  end
156
155
 
157
156
  function SoftShutdownServiceClient:_hideCoreGuiUI(maid, ignoreScreenGui)
158
- -- Hide all other ui
159
- if not UserInputService.ModalEnabled then
160
- UserInputService.ModalEnabled = true
161
- maid:GiveTask(function()
162
- UserInputService.ModalEnabled = false
163
- end)
164
- end
157
+ maid:GiveTask(CoreGuiEnabler:PushDisable("ModalEnabled"))
165
158
 
166
159
  local playerGui = PlayerGuiUtils.getPlayerGui()
167
160