Skip to content
This repository has been archived by the owner on Nov 10, 2018. It is now read-only.

DataStoreService does not allow removal of data #261

Open
TheSneak opened this issue Apr 3, 2014 · 0 comments
Open

DataStoreService does not allow removal of data #261

TheSneak opened this issue Apr 3, 2014 · 0 comments

Comments

@TheSneak
Copy link

TheSneak commented Apr 3, 2014

When the DataStoreService is queried for a key that does not exist, it returns nil. However there is no method for removing a key from the data store to revert to this behavior. Attempting to set the value of the key to nil with SetAsync() results in an error like "second argument is missing or nil." Once a value has been assigned to a key, it cannot then be set to nil.

This is troublesome when the presence or absence of a particular data value in the data store is used to determine game state.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants