@quenty/saveslot 2.6.3-canary.783.30686127768.0 → 2.6.3
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 +2 -10
- package/package.json +5 -5
- package/src/Server/Binders/HasSaveSlots.lua +7 -9
package/CHANGELOG.md
CHANGED
|
@@ -3,17 +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
|
-
## [2.6.3
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Bug Fixes
|
|
10
|
-
|
|
11
|
-
* Fix save slots ([579c587](https://github.com/Quenty/NevermoreEngine/commit/579c587ebfadaedaab91e774f8441d78a8d6fe99))
|
|
12
|
-
* **nevermore-cli:** make the watch context tests independent of the host ([453f415](https://github.com/Quenty/NevermoreEngine/commit/453f415460db72eec511ecbea34434c82afb61c8))
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
6
|
+
## [2.6.3](https://github.com/Quenty/NevermoreEngine/compare/@quenty/saveslot@2.6.2...@quenty/saveslot@2.6.3) (2026-08-10)
|
|
16
7
|
|
|
8
|
+
**Note:** Version bump only for package @quenty/saveslot
|
|
17
9
|
|
|
18
10
|
## [2.6.2](https://github.com/Quenty/NevermoreEngine/compare/@quenty/saveslot@2.6.1...@quenty/saveslot@2.6.2) (2026-07-30)
|
|
19
11
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/saveslot",
|
|
3
|
-
"version": "2.6.3
|
|
3
|
+
"version": "2.6.3",
|
|
4
4
|
"description": "PlayerDataStoreService wrapper for save slots",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@quenty/baseobject": "10.15.0",
|
|
34
34
|
"@quenty/binder": "14.43.1",
|
|
35
35
|
"@quenty/brio": "14.35.1",
|
|
36
|
-
"@quenty/cmdrservice": "13.56.
|
|
36
|
+
"@quenty/cmdrservice": "13.56.1",
|
|
37
37
|
"@quenty/datastore": "13.51.1",
|
|
38
38
|
"@quenty/instanceutils": "13.35.1",
|
|
39
39
|
"@quenty/loader": "10.11.0",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
"@quenty/playermock": "1.6.0",
|
|
45
45
|
"@quenty/promise": "10.23.0",
|
|
46
46
|
"@quenty/propertyvalue": "7.35.1",
|
|
47
|
-
"@quenty/remoting": "12.41.
|
|
47
|
+
"@quenty/remoting": "12.41.1",
|
|
48
48
|
"@quenty/rx": "13.33.0",
|
|
49
49
|
"@quenty/servicebag": "11.20.0",
|
|
50
50
|
"@quenty/signal": "7.13.1",
|
|
51
51
|
"@quenty/table": "3.9.2",
|
|
52
|
-
"@quenty/teleportserviceutils": "10.3.
|
|
52
|
+
"@quenty/teleportserviceutils": "10.3.2",
|
|
53
53
|
"@quenty/tie": "10.47.0",
|
|
54
54
|
"@quenty/valueobject": "13.36.1",
|
|
55
55
|
"@quentystudios/jest-lua": "3.10.0-quenty.2"
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "18496d9898c68e0a8cf456fcdba4c76b75d1ada4"
|
|
61
61
|
}
|
|
@@ -202,15 +202,13 @@ function HasSaveSlots.PromiseSelectSlot(self: HasSaveSlots, slotId: SaveSlotData
|
|
|
202
202
|
end
|
|
203
203
|
|
|
204
204
|
local function promiseSetSlot()
|
|
205
|
-
return self
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
return (Promise :: any).rejected(`Slot \{{slotId}\} refused by a pre-select callback`)
|
|
210
|
-
end
|
|
205
|
+
return self:_promisePreSelectFromSaveSlotService(slotId):Then(function(allowed: boolean)
|
|
206
|
+
if not allowed then
|
|
207
|
+
return (Promise :: any).rejected(`Slot \{{slotId}\} refused by a pre-select callback`)
|
|
208
|
+
end
|
|
211
209
|
|
|
212
|
-
|
|
213
|
-
|
|
210
|
+
return setSlot()
|
|
211
|
+
end)
|
|
214
212
|
end
|
|
215
213
|
|
|
216
214
|
-- Initialize or save and switch
|
|
@@ -224,7 +222,7 @@ function HasSaveSlots.PromiseSelectSlot(self: HasSaveSlots, slotId: SaveSlotData
|
|
|
224
222
|
return promiseSetSlot()
|
|
225
223
|
end
|
|
226
224
|
|
|
227
|
-
return self.
|
|
225
|
+
return self._dataStore:Save():Then(promiseSetSlot)
|
|
228
226
|
end)
|
|
229
227
|
end
|
|
230
228
|
|