Roblox icon indicating copy to clipboard operation
Roblox copied to clipboard

BeforeInitialGet seems to only run once on combined data stores, but only sometimes

Open Kampfkarren opened this issue 6 years ago • 2 comments

No known repro case, it's happening in my game where:

local store = DataStore2("someCombinedKey", player)
store:BeforeInitialGet(callback)
print(store:Get()) -- The result of BeforeInitialGet
print(store:Get()) -- The original data?

BeforeInitialGet is only ran once, as observed by a print inside.

Kampfkarren avatar Sep 05 '19 00:09 Kampfkarren

Frustratingly, when it breaks it only breaks in one script but not the other. Very confused.

Kampfkarren avatar Sep 05 '19 06:09 Kampfkarren

I'd bet money this is caused by #63 and #65

Kampfkarren avatar Sep 29 '19 02:09 Kampfkarren